#668E2F#668E2F
#668E2F is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.132 H 129.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #668E2F |
|---|---|
| RGB | rgb(102, 142, 47) |
| HSL | hsl(85, 50%, 37%) |
| HSV | hsv(85, 67%, 56%) |
| CMYK | cmyk(28.2%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(54.42, -29.41, 44.55) |
| CIE-LCH | lch(54.42, 53.38, 123.43°) |
| OKLab | oklab(59.71% -0.0832 0.1018) |
| OKLCH | oklch(59.71% 0.132 129.3) |
| XYZ | xyz(15.6655, 22.3756, 6.1823) |
| Luminance | 0.2238 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.34
Moss Green (survey)
#658B38
ΔE00 1.97
Olivedrab
#6B8E23
ΔE00 2.21
Sap Green
#5C8B15
ΔE00 2.90
Khaki Green
#728639
ΔE00 4.66
Swamp
#698339
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668E2F #572F8E
analogous
#8E872F #668E2F #378E2F
triadic
#668E2F #2F668E #8E2F66
tetradic
#668E2F #2F8E87 #572F8E #8E2F37
square
#668E2F #2F8E87 #572F8E #8E2F37
split-complementary
#668E2F #2F378E #872F8E
monochromatic
#243211 #456020 #668E2F #87BC3E #A4CE6A
Accessibility & contrast
On white
3.84
#668E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#668E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668E2F
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668E2F | 1.00 | 3.84 | 5.48 | 5.48 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958422
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#69887A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #668e2f; /* rgb */ color: rgb(102, 142, 47); /* oklch */ color: oklch(59.7% 0.132 129.3);
Tailwind
colors: {
custom: {
50: '#95af6c',
500: '#668e2f',
950: '#000000',
},
}SCSS
$custom: #668e2f; $custom-light: #95af6c; $custom-dark: #000000;
JSON
{
"hex": "#668e2f",
"rgb": {
"r": 102,
"g": 142,
"b": 47
},
"hsl": {
"h": 85.263,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.5971,
"c": 0.13153,
"h": 129.3
},
"luminance": 0.22376
}Semantic roles & 50–950 ramp
primary
#668E2F
secondary
#8664B5
accent
#4EDA89
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A