#668B2E#668B2E
#668B2E is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.128 H 128.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #668B2E |
|---|---|
| RGB | rgb(102, 139, 46) |
| HSL | hsl(84, 50%, 36%) |
| HSV | hsv(84, 67%, 55%) |
| CMYK | cmyk(26.6%, 0%, 66.9%, 45.5%) |
| CIE-LAB | lab(53.48, -28.05, 43.98) |
| CIE-LCH | lch(53.48, 52.16, 122.53°) |
| OKLab | oklab(58.94% -0.0796 0.1005) |
| OKLCH | oklch(58.94% 0.128 128.4) |
| XYZ | xyz(15.2052, 21.4869, 5.9305) |
| Luminance | 0.2149 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 0.95
Moss Green (survey)
#658B38
ΔE00 1.69
Olivedrab
#6B8E23
ΔE00 2.34
Sap Green
#5C8B15
ΔE00 2.83
Swamp
#698339
ΔE00 3.84
Khaki Green
#728639
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668B2E #532E8B
analogous
#8B822E #668B2E #388B2E
triadic
#668B2E #2E668B #8B2E66
tetradic
#668B2E #2E8B82 #532E8B #8B2E38
square
#668B2E #2E8B82 #532E8B #8B2E38
split-complementary
#668B2E #2E388B #822E8B
monochromatic
#232F10 #445D1F #668B2E #88B93D #A4CD67
Accessibility & contrast
On white
3.96
#668B2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#668B2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668B2E
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668B2E | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928122
Deuteranopia (green-blind)
#8D7F35
Tritanopia (blue-blind)
#698578
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #668b2e; /* rgb */ color: rgb(102, 139, 46); /* oklch */ color: oklch(58.9% 0.128 128.4);
Tailwind
colors: {
custom: {
50: '#95ad6c',
500: '#668b2e',
950: '#000000',
},
}SCSS
$custom: #668b2e; $custom-light: #95ad6c; $custom-dark: #000000;
JSON
{
"hex": "#668b2e",
"rgb": {
"r": 102,
"g": 139,
"b": 46
},
"hsl": {
"h": 83.871,
"s": 50.27,
"l": 36.275
},
"oklch": {
"l": 0.5894,
"c": 0.1282,
"h": 128.4
},
"luminance": 0.21487
}Semantic roles & 50–950 ramp
primary
#668B2E
secondary
#8261B3
accent
#4EDA86
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A