#668F2F#668F2F
#668F2F is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.133 H 129.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #668F2F |
|---|---|
| RGB | rgb(102, 143, 47) |
| HSL | hsl(86, 51%, 37%) |
| HSV | hsv(86, 67%, 56%) |
| CMYK | cmyk(28.7%, 0%, 67.1%, 43.9%) |
| CIE-LAB | lab(54.74, -29.89, 44.88) |
| CIE-LCH | lch(54.74, 53.92, 123.66°) |
| OKLab | oklab(59.96% -0.0846 0.1025) |
| OKLCH | oklch(59.96% 0.133 129.5) |
| XYZ | xyz(15.8150, 22.6745, 6.2322) |
| Luminance | 0.2268 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.59
Moss Green (survey)
#658B38
ΔE00 2.21
Olivedrab
#6B8E23
ΔE00 2.24
Sap Green
#5C8B15
ΔE00 2.97
Khaki Green
#728639
ΔE00 4.95
Swamp
#698339
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668F2F #582F8F
analogous
#8F882F #668F2F #368F2F
triadic
#668F2F #2F668F #8F2F66
tetradic
#668F2F #2F8F88 #582F8F #8F2F36
square
#668F2F #2F8F88 #582F8F #8F2F36
split-complementary
#668F2F #2F368F #882F8F
monochromatic
#243311 #456120 #668F2F #87BD3E #A3CE6A
Accessibility & contrast
On white
3.79
#668F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#668F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668F2F
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668F2F | 1.00 | 3.79 | 5.53 | 5.53 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968522
Deuteranopia (green-blind)
#908237
Tritanopia (blue-blind)
#69897B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #668f2f; /* rgb */ color: rgb(102, 143, 47); /* oklch */ color: oklch(60.0% 0.133 129.5);
Tailwind
colors: {
custom: {
50: '#95b06d',
500: '#668f2f',
950: '#000000',
},
}SCSS
$custom: #668f2f; $custom-light: #95b06d; $custom-dark: #000000;
JSON
{
"hex": "#668f2f",
"rgb": {
"r": 102,
"g": 143,
"b": 47
},
"hsl": {
"h": 85.625,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.59963,
"c": 0.1329,
"h": 129.5
},
"luminance": 0.22675
}Semantic roles & 50–950 ramp
primary
#668F2F
secondary
#8765B5
accent
#4EDA8A
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A