#667E20#667E20
#667E20 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.121 H 123.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #667E20 |
|---|---|
| RGB | rgb(102, 126, 32) |
| HSL | hsl(75, 59%, 31%) |
| HSV | hsv(75, 75%, 49%) |
| CMYK | cmyk(19%, 0%, 74.6%, 50.6%) |
| CIE-LAB | lab(49.31, -22.59, 45.49) |
| CIE-LCH | lch(49.31, 50.79, 116.41°) |
| OKLab | oklab(55.54% -0.0659 0.1015) |
| OKLCH | oklch(55.54% 0.121 123) |
| XYZ | xyz(13.2012, 17.8507, 4.1163) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 1.75
Olive Green
#677A04
ΔE00 3.04
Murky Green
#6C7A0E
ΔE00 3.45
Swamp
#698339
ΔE00 3.95
Avocado
#568203
ΔE00 4.10
Khaki Green
#728639
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#667E20 #38207E
analogous
#7E6720 #667E20 #377E20
triadic
#667E20 #20667E #7E2066
tetradic
#667E20 #207E67 #38207E #7E2037
square
#667E20 #207E67 #38207E #7E2037
split-complementary
#667E20 #20377E #67207E
monochromatic
#171C07 #3E4D14 #667E20 #8EAF2C #AED048
Accessibility & contrast
On white
4.59
#667E20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#667E20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #667E20
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##667E20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##667E20 | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760F
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#6B776C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #667e20; /* rgb */ color: rgb(102, 126, 32); /* oklch */ color: oklch(55.5% 0.121 123.0);
Tailwind
colors: {
custom: {
50: '#95a362',
500: '#667e20',
950: '#000000',
},
}SCSS
$custom: #667e20; $custom-light: #95a362; $custom-dark: #000000;
JSON
{
"hex": "#667e20",
"rgb": {
"r": 102,
"g": 126,
"b": 32
},
"hsl": {
"h": 75.319,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.55536,
"c": 0.12101,
"h": 123
},
"luminance": 0.17851
}Semantic roles & 50–950 ramp
primary
#667E20
secondary
#6349B1
accent
#45E36D
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0D0F05
muted
#7E7F7A