#668D2E#668D2E
#668D2E is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.131 H 128.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #668D2E |
|---|---|
| RGB | rgb(102, 141, 46) |
| HSL | hsl(85, 51%, 37%) |
| HSV | hsv(85, 67%, 55%) |
| CMYK | cmyk(27.7%, 0%, 67.4%, 44.7%) |
| CIE-LAB | lab(54.10, -29.01, 44.64) |
| CIE-LCH | lch(54.10, 53.24, 123.02°) |
| OKLab | oklab(59.45% -0.0822 0.1019) |
| OKLCH | oklch(59.45% 0.131 128.9) |
| XYZ | xyz(15.4975, 22.0714, 6.0279) |
| Luminance | 0.2207 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.05
Moss Green (survey)
#658B38
ΔE00 1.91
Olivedrab
#6B8E23
ΔE00 2.11
Sap Green
#5C8B15
ΔE00 2.76
Khaki Green
#728639
ΔE00 4.42
Swamp
#698339
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668D2E #552E8D
analogous
#8D852E #668D2E #368D2E
triadic
#668D2E #2E668D #8D2E66
tetradic
#668D2E #2E8D85 #552E8D #8D2E36
square
#668D2E #2E8D85 #552E8D #8D2E36
split-complementary
#668D2E #2E368D #852E8D
monochromatic
#233110 #455F1F #668D2E #87BB3D #A4CE68
Accessibility & contrast
On white
3.88
#668D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#668D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668D2E
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668D2E | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#69877A
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #668d2e; /* rgb */ color: rgb(102, 141, 46); /* oklch */ color: oklch(59.4% 0.131 128.9);
Tailwind
colors: {
custom: {
50: '#95ae6c',
500: '#668d2e',
950: '#000000',
},
}SCSS
$custom: #668d2e; $custom-light: #95ae6c; $custom-dark: #000000;
JSON
{
"hex": "#668d2e",
"rgb": {
"r": 102,
"g": 141,
"b": 46
},
"hsl": {
"h": 84.632,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.59447,
"c": 0.13095,
"h": 128.9
},
"luminance": 0.22072
}Semantic roles & 50–950 ramp
primary
#668D2E
secondary
#8462B5
accent
#4EDA87
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A