#867E1F#867E1F
#867E1F is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.3% C 0.112 H 104.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #867E1F |
|---|---|
| RGB | rgb(134, 126, 31) |
| HSL | hsl(55, 62%, 32%) |
| HSV | hsv(55, 77%, 53%) |
| CMYK | cmyk(0%, 6%, 76.9%, 47.5%) |
| CIE-LAB | lab(51.94, -8.17, 49.29) |
| CIE-LCH | lch(51.94, 49.97, 99.41°) |
| OKLab | oklab(58.29% -0.0278 0.1083) |
| OKLCH | oklch(58.29% 0.112 104.4) |
| XYZ | xyz(17.5405, 20.0897, 4.2498) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.13
Ugly Brown
#7D7103
ΔE00 5.09
Baby Poop
#937C00
ΔE00 5.25
Hazel
#8E7618
ΔE00 5.58
Shit Green
#758000
ΔE00 5.61
Drab
#828344
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#867E1F #1F2786
analogous
#864B1F #867E1F #5A861F
triadic
#867E1F #1F867E #7E1F86
tetradic
#867E1F #1F864B #1F2786 #861F5A
square
#867E1F #1F864B #1F2786 #861F5A
split-complementary
#867E1F #1F5A86 #4B1F86
monochromatic
#232108 #544F14 #867E1F #B8AD2A #D5CA4A
Accessibility & contrast
On white
4.19
#867E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#867E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #867E1F
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##867E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##867E1F | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A790B
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#90756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #867e1f; /* rgb */ color: rgb(134, 126, 31); /* oklch */ color: oklch(58.3% 0.112 104.4);
Tailwind
colors: {
custom: {
50: '#ada363',
500: '#867e1f',
950: '#000000',
},
}SCSS
$custom: #867e1f; $custom-light: #ada363; $custom-dark: #000000;
JSON
{
"hex": "#867e1f",
"rgb": {
"r": 134,
"g": 126,
"b": 31
},
"hsl": {
"h": 55.34,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.58288,
"c": 0.11177,
"h": 104.4
},
"luminance": 0.20089
}Semantic roles & 50–950 ramp
primary
#867E1F
secondary
#4952B8
accent
#4FE542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A