#867D1F#867D1F
#867D1F is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.111 H 103.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #867D1F |
|---|---|
| RGB | rgb(134, 125, 31) |
| HSL | hsl(55, 62%, 32%) |
| HSV | hsv(55, 77%, 53%) |
| CMYK | cmyk(0%, 6.7%, 76.9%, 47.5%) |
| CIE-LAB | lab(51.65, -7.62, 49.02) |
| CIE-LCH | lch(51.65, 49.61, 98.83°) |
| OKLab | oklab(58.06% -0.0263 0.1077) |
| OKLCH | oklch(58.06% 0.111 103.7) |
| XYZ | xyz(17.4132, 19.8352, 4.2074) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.44
Ugly Brown
#7D7103
ΔE00 4.74
Baby Poop
#937C00
ΔE00 5.03
Hazel
#8E7618
ΔE00 5.18
Shit Green
#758000
ΔE00 5.91
Drab
#828344
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#867D1F #1F2886
analogous
#86491F #867D1F #5C861F
triadic
#867D1F #1F867D #7D1F86
tetradic
#867D1F #1F8649 #1F2886 #861F5C
square
#867D1F #1F8649 #1F2886 #861F5C
split-complementary
#867D1F #1F5C86 #491F86
monochromatic
#232008 #544F14 #867D1F #B8AB2A #D5C94A
Accessibility & contrast
On white
4.23
#867D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#867D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #867D1F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##867D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##867D1F | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#91746B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #867d1f; /* rgb */ color: rgb(134, 125, 31); /* oklch */ color: oklch(58.1% 0.111 103.7);
Tailwind
colors: {
custom: {
50: '#ada262',
500: '#867d1f',
950: '#000000',
},
}SCSS
$custom: #867d1f; $custom-light: #ada262; $custom-dark: #000000;
JSON
{
"hex": "#867d1f",
"rgb": {
"r": 134,
"g": 125,
"b": 31
},
"hsl": {
"h": 54.757,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.58059,
"c": 0.11083,
"h": 103.7
},
"luminance": 0.19834
}Semantic roles & 50–950 ramp
primary
#867D1F
secondary
#4953B8
accent
#51E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A