#867E17#867E17
#867E17 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.116 H 104.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #867E17 |
|---|---|
| RGB | rgb(134, 126, 23) |
| HSL | hsl(56, 71%, 31%) |
| HSV | hsv(56, 83%, 53%) |
| CMYK | cmyk(0%, 6%, 82.8%, 47.5%) |
| CIE-LAB | lab(51.90, -8.49, 51.92) |
| CIE-LCH | lch(51.90, 52.61, 99.29°) |
| OKLab | oklab(58.24% -0.0294 0.1123) |
| OKLCH | oklch(58.24% 0.116 104.7) |
| XYZ | xyz(17.4478, 20.0526, 3.7619) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.66
Baby Poop
#937C00
ΔE00 4.95
Ugly Brown
#7D7103
ΔE00 4.97
Shit Green
#758000
ΔE00 5.45
Hazel
#8E7618
ΔE00 5.61
Poop Green
#6F7C00
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#867E17 #171F86
analogous
#864617 #867E17 #568617
triadic
#867E17 #17867E #7E1786
tetradic
#867E17 #178646 #171F86 #861756
square
#867E17 #178646 #171F86 #861756
split-complementary
#867E17 #175686 #461786
monochromatic
#1E1C05 #524D0E #867E17 #BAAF20 #DDD13A
Accessibility & contrast
On white
4.19
#867E17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#867E17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #867E17
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##867E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##867E17 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8D7E20
Tritanopia (blue-blind)
#91756B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #867e17; /* rgb */ color: rgb(134, 126, 23); /* oklch */ color: oklch(58.2% 0.116 104.7);
Tailwind
colors: {
custom: {
50: '#ada35f',
500: '#867e17',
950: '#000000',
},
}SCSS
$custom: #867e17; $custom-light: #ada35f; $custom-dark: #000000;
JSON
{
"hex": "#867e17",
"rgb": {
"r": 134,
"g": 126,
"b": 23
},
"hsl": {
"h": 55.676,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.58241,
"c": 0.11606,
"h": 104.7
},
"luminance": 0.20052
}Semantic roles & 50–950 ramp
primary
#867E17
secondary
#3F48BA
accent
#47ED3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79