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": "dark-green-vs-green",
"type": "nearest",
"name": "Dark Green vs Green",
"verdict": "Dark Green and Green are visually related colors. Green is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.45:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Dark Green and Green are different green colors with HEX values #006400 and #008000. According to Colors Encyclopedia, their RGB distance is 28, their contrast ratio is 1.45:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 28,
"contrastRatio": 1.45,
"colors": [
{
"slug": "dark-green",
"name": "Dark Green",
"hex": "#006400",
"rgb": [
0,
100,
0
],
"hsl": [
120,
100,
20
],
"cmyk": [
100,
0,
100,
61
],
"family": "green",
"temperature": "cool",
"tone": [
"dark",
"jewel-tone"
],
"luminance": 0.0911,
"contrast": {
"black": 2.82,
"white": 7.44
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 7.44
},
"description": "Dark Green is #006400, a cool green color with dark and jewel tone character. Compared with Green, it is darker and similar in saturation. 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/dark-green/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/dark-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 Dark Green, it is lighter and similar in saturation. 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": 28,
"contrastRatio": 1.45,
"hslDelta": {
"hue": 0,
"saturation": 0,
"lightness": 5
},
"luminanceDelta": 0.0633,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"jewel-tone"
],
"lighterColor": "Green",
"moreSaturatedColor": "Dark Green"
},
"accessibility": {
"pairContrastRatio": 1.45,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Dark Green",
"background": "#006400",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 7.44
},
{
"color": "Green",
"background": "#008000",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 5.14
}
]
},
"useCases": {
"chooseFirstWhen": "Dark Green is better when the design needs dark and jewel tone green character, cool temperature, and the specific HEX value #006400.",
"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/dark-green-vs-green.json",
"https://www.colorsencyclopedia.com/api/colors/dark-green.json",
"https://www.colorsencyclopedia.com/api/colors/green.json"
],
"url": "https://www.colorsencyclopedia.com/compare/dark-green-vs-green/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/dark-green-vs-green.json"
}