#668D2F#668D2F
#668D2F is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.5% C 0.130 H 129.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #668D2F |
|---|---|
| RGB | rgb(102, 141, 47) |
| HSL | hsl(85, 50%, 37%) |
| HSV | hsv(85, 67%, 55%) |
| CMYK | cmyk(27.7%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(54.11, -28.93, 44.22) |
| CIE-LCH | lch(54.11, 52.84, 123.20°) |
| OKLab | oklab(59.46% -0.0819 0.1011) |
| OKLCH | oklch(59.46% 0.13 129) |
| XYZ | xyz(15.5174, 22.0794, 6.1330) |
| Luminance | 0.2208 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.15
Moss Green (survey)
#658B38
ΔE00 1.77
Olivedrab
#6B8E23
ΔE00 2.24
Sap Green
#5C8B15
ΔE00 2.87
Khaki Green
#728639
ΔE00 4.39
Swamp
#698339
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668D2F #562F8D
analogous
#8D852F #668D2F #378D2F
triadic
#668D2F #2F668D #8D2F66
tetradic
#668D2F #2F8D85 #562F8D #8D2F37
square
#668D2F #2F8D85 #562F8D #8D2F37
split-complementary
#668D2F #2F378D #852F8D
monochromatic
#243110 #455F20 #668D2F #87BB3E #A4CD69
Accessibility & contrast
On white
3.88
#668D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#668D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668D2F
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668D2F | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#69877A
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #668d2f; /* rgb */ color: rgb(102, 141, 47); /* oklch */ color: oklch(59.5% 0.130 129.0);
Tailwind
colors: {
custom: {
50: '#95ae6c',
500: '#668d2f',
950: '#000000',
},
}SCSS
$custom: #668d2f; $custom-light: #95ae6c; $custom-dark: #000000;
JSON
{
"hex": "#668d2f",
"rgb": {
"r": 102,
"g": 141,
"b": 47
},
"hsl": {
"h": 84.894,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.59456,
"c": 0.13016,
"h": 129
},
"luminance": 0.2208
}Semantic roles & 50–950 ramp
primary
#668D2F
secondary
#8564B4
accent
#4EDA88
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A