#867D1B#867D1B
#867D1B is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.0% C 0.113 H 103.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #867D1B |
|---|---|
| RGB | rgb(134, 125, 27) |
| HSL | hsl(55, 66%, 32%) |
| HSV | hsv(55, 80%, 53%) |
| CMYK | cmyk(0%, 6.7%, 79.9%, 47.5%) |
| CIE-LAB | lab(51.63, -7.79, 50.41) |
| CIE-LCH | lch(51.63, 51.01, 98.79°) |
| OKLab | oklab(58.03% -0.0271 0.1098) |
| OKLCH | oklch(58.03% 0.113 103.9) |
| XYZ | xyz(17.3637, 19.8154, 3.9468) |
| Luminance | 0.1981 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.19
Ugly Brown
#7D7103
ΔE00 4.64
Baby Poop
#937C00
ΔE00 4.85
Hazel
#8E7618
ΔE00 5.18
Shit Green
#758000
ΔE00 5.81
Olive (survey)
#6E750E
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#867D1B #1B2486
analogous
#86481B #867D1B #5A861B
triadic
#867D1B #1B867D #7D1B86
tetradic
#867D1B #1B8648 #1B2486 #861B5A
square
#867D1B #1B8648 #1B2486 #861B5A
split-complementary
#867D1B #1B5A86 #481B86
monochromatic
#201E06 #534D11 #867D1B #B9AD25 #D9CC42
Accessibility & contrast
On white
4.23
#867D1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#867D1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #867D1B
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##867D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##867D1B | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897902
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#91746B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #867d1b; /* rgb */ color: rgb(134, 125, 27); /* oklch */ color: oklch(58.0% 0.113 103.9);
Tailwind
colors: {
custom: {
50: '#ada261',
500: '#867d1b',
950: '#000000',
},
}SCSS
$custom: #867d1b; $custom-light: #ada261; $custom-dark: #000000;
JSON
{
"hex": "#867d1b",
"rgb": {
"r": 134,
"g": 125,
"b": 27
},
"hsl": {
"h": 54.953,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.58034,
"c": 0.11312,
"h": 103.9
},
"luminance": 0.19815
}Semantic roles & 50–950 ramp
primary
#867D1B
secondary
#444DB9
accent
#4DE93E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A