#867C17#867C17
#867C17 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.114 H 103.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #867C17 |
|---|---|
| RGB | rgb(134, 124, 23) |
| HSL | hsl(55, 71%, 31%) |
| HSV | hsv(55, 83%, 53%) |
| CMYK | cmyk(0%, 7.5%, 82.8%, 47.5%) |
| CIE-LAB | lab(51.32, -7.39, 51.42) |
| CIE-LCH | lch(51.32, 51.95, 98.18°) |
| OKLab | oklab(57.78% -0.0264 0.1112) |
| OKLCH | oklch(57.78% 0.114 103.3) |
| XYZ | xyz(17.1946, 19.5463, 3.6775) |
| Luminance | 0.1955 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.36
Ugly Brown
#7D7103
ΔE00 4.23
Baby Poop
#937C00
ΔE00 4.50
Hazel
#8E7618
ΔE00 4.82
Shit Green
#758000
ΔE00 6.06
Puke Brown
#947706
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#867C17 #172186
analogous
#864517 #867C17 #588617
triadic
#867C17 #17867C #7C1786
tetradic
#867C17 #178645 #172186 #861758
square
#867C17 #178645 #172186 #861758
split-complementary
#867C17 #175886 #451786
monochromatic
#1E1B05 #524C0E #867C17 #BAAC20 #DDCF3A
Accessibility & contrast
On white
4.28
#867C17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#867C17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #867C17
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##867C17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##867C17 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#91736A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #867c17; /* rgb */ color: rgb(134, 124, 23); /* oklch */ color: oklch(57.8% 0.114 103.3);
Tailwind
colors: {
custom: {
50: '#ada15f',
500: '#867c17',
950: '#000000',
},
}SCSS
$custom: #867c17; $custom-light: #ada15f; $custom-dark: #000000;
JSON
{
"hex": "#867c17",
"rgb": {
"r": 134,
"g": 124,
"b": 23
},
"hsl": {
"h": 54.595,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.57783,
"c": 0.11425,
"h": 103.3
},
"luminance": 0.19545
}Semantic roles & 50–950 ramp
primary
#867C17
secondary
#3F4ABA
accent
#4AED3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79