#667E1F#667E1F
#667E1F is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.5% C 0.122 H 122.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #667E1F |
|---|---|
| RGB | rgb(102, 126, 31) |
| HSL | hsl(75, 61%, 31%) |
| HSV | hsv(75, 75%, 49%) |
| CMYK | cmyk(19%, 0%, 75.4%, 50.6%) |
| CIE-LAB | lab(49.31, -22.65, 45.86) |
| CIE-LCH | lch(49.31, 51.15, 116.28°) |
| OKLab | oklab(55.53% -0.0661 0.1021) |
| OKLCH | oklch(55.53% 0.122 122.9) |
| XYZ | xyz(13.1878, 17.8454, 4.0458) |
| Luminance | 0.1784 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 1.88
Olive Green
#677A04
ΔE00 2.93
Murky Green
#6C7A0E
ΔE00 3.36
Swamp
#698339
ΔE00 4.06
Avocado
#568203
ΔE00 4.06
Poop Green
#6F7C00
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#667E1F #371F7E
analogous
#7E661F #667E1F #367E1F
triadic
#667E1F #1F667E #7E1F66
tetradic
#667E1F #1F7E66 #371F7E #7E1F36
square
#667E1F #1F7E66 #371F7E #7E1F36
split-complementary
#667E1F #1F367E #661F7E
monochromatic
#161C07 #3E4D13 #667E1F #8EAF2B #AED146
Accessibility & contrast
On white
4.60
#667E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#667E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #667E1F
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##667E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##667E1F | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760D
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#6B776C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #667e1f; /* rgb */ color: rgb(102, 126, 31); /* oklch */ color: oklch(55.5% 0.122 122.9);
Tailwind
colors: {
custom: {
50: '#95a362',
500: '#667e1f',
950: '#000000',
},
}SCSS
$custom: #667e1f; $custom-light: #95a362; $custom-dark: #000000;
JSON
{
"hex": "#667e1f",
"rgb": {
"r": 102,
"g": 126,
"b": 31
},
"hsl": {
"h": 75.158,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.55528,
"c": 0.12166,
"h": 122.9
},
"luminance": 0.17845
}Semantic roles & 50–950 ramp
primary
#667E1F
secondary
#6248B1
accent
#44E46C
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0E0F05
muted
#7E7F7A