colorsBoth named color records with HEX, RGB, HSL, CMYK, luminance, WCAG, and links
differencesRGB distance, HSL deltas, luminance delta, contrast, and shared attributes
accessibilityPair contrast and safer text choices for each color
useCasesWhen to choose each color and when to use them together
relatedApiMachine-readable comparison and color endpoints
Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "forest-green-vs-green",
"type": "nearest",
"name": "Forest Green vs Green",
"verdict": "Forest Green and Green are visually related colors. Forest Green is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.17:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Forest Green and Green are different green colors with HEX values #228B22 and #008000. According to Colors Encyclopedia, their RGB distance is 49.3, their contrast ratio is 1.17:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 49.3,
"contrastRatio": 1.17,
"colors": [
{
"slug": "forest-green",
"name": "Forest Green",
"hex": "#228B22",
"rgb": [
34,
139,
34
],
"hsl": [
120,
61,
34
],
"cmyk": [
76,
0,
76,
45
],
"family": "green",
"temperature": "cool",
"tone": [
"earth-tone",
"jewel-tone"
],
"luminance": 0.1892,
"contrast": {
"black": 4.78,
"white": 4.39
},
"wcag": {
"AA": [
"#000000"
],
"AAA": []
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 4.78
},
"description": "Forest Green is #228B22, a cool green color with earth tone and jewel tone character. Compared with Green, it is lighter and less saturated. Use it for web design, css color systems, and ui prototyping, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/forest-green/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/forest-green.json"
},
{
"slug": "green",
"name": "Green",
"hex": "#008000",
"rgb": [
0,
128,
0
],
"hsl": [
120,
100,
25
],
"cmyk": [
100,
0,
100,
50
],
"family": "green",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.1544,
"contrast": {
"black": 4.09,
"white": 5.14
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 5.14
},
"description": "Green is #008000, a cool green color with jewel tone character. Compared with Forest Green, it is darker and more saturated. Use it for web design, css color systems, and ui prototyping, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/green/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/green.json"
}
],
"differences": {
"rgbDistance": 49.3,
"contrastRatio": 1.17,
"hslDelta": {
"hue": 0,
"saturation": 39,
"lightness": 9
},
"luminanceDelta": 0.0348,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"jewel-tone"
],
"lighterColor": "Forest Green",
"moreSaturatedColor": "Green"
},
"accessibility": {
"pairContrastRatio": 1.17,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Forest Green",
"background": "#228B22",
"foreground": "#000000",
"label": "black text",
"ratio": 4.78
},
{
"color": "Green",
"background": "#008000",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 5.14
}
]
},
"useCases": {
"chooseFirstWhen": "Forest Green is better when the design needs earth tone and jewel tone green character, cool temperature, and the specific HEX value #228B22.",
"chooseSecondWhen": "Green is better when the design needs jewel tone green character, cool temperature, and the specific HEX value #008000.",
"useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
},
"relatedApi": [
"https://www.colorsencyclopedia.com/api/compare/forest-green-vs-green.json",
"https://www.colorsencyclopedia.com/api/colors/forest-green.json",
"https://www.colorsencyclopedia.com/api/colors/green.json"
],
"url": "https://www.colorsencyclopedia.com/compare/forest-green-vs-green/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/forest-green-vs-green.json"
}