#668F2E#668F2E
#668F2E is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.134 H 129.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #668F2E |
|---|---|
| RGB | rgb(102, 143, 46) |
| HSL | hsl(85, 51%, 37%) |
| HSV | hsv(85, 68%, 56%) |
| CMYK | cmyk(28.7%, 0%, 67.8%, 43.9%) |
| CIE-LAB | lab(54.73, -29.97, 45.30) |
| CIE-LCH | lch(54.73, 54.32, 123.48°) |
| OKLab | oklab(59.95% -0.0849 0.1033) |
| OKLCH | oklch(59.95% 0.134 129.4) |
| XYZ | xyz(15.7950, 22.6665, 6.1271) |
| Luminance | 0.2267 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.53
Olivedrab
#6B8E23
ΔE00 2.11
Moss Green (survey)
#658B38
ΔE00 2.33
Sap Green
#5C8B15
ΔE00 2.87
Khaki Green
#728639
ΔE00 4.98
Swamp
#698339
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668F2E #572E8F
analogous
#8F882E #668F2E #358F2E
triadic
#668F2E #2E668F #8F2E66
tetradic
#668F2E #2E8F88 #572E8F #8F2E35
square
#668F2E #2E8F88 #572E8F #8F2E35
split-complementary
#668F2E #2E358F #882E8F
monochromatic
#243210 #45611F #668F2E #87BD3D #A4CF69
Accessibility & contrast
On white
3.80
#668F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#668F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668F2E
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668F2E | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 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)
#968521
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#69897B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #668f2e; /* rgb */ color: rgb(102, 143, 46); /* oklch */ color: oklch(60.0% 0.134 129.4);
Tailwind
colors: {
custom: {
50: '#95b06c',
500: '#668f2e',
950: '#000000',
},
}SCSS
$custom: #668f2e; $custom-light: #95b06c; $custom-dark: #000000;
JSON
{
"hex": "#668f2e",
"rgb": {
"r": 102,
"g": 143,
"b": 46
},
"hsl": {
"h": 85.361,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.59954,
"c": 0.13368,
"h": 129.4
},
"luminance": 0.22667
}Semantic roles & 50–950 ramp
primary
#668F2E
secondary
#8663B6
accent
#4DDB89
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A