#867C18#867C18
#867C18 is a mid, moderate yellow. Relative luminance 0.196; 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 | #867C18 |
|---|---|
| RGB | rgb(134, 124, 24) |
| HSL | hsl(55, 70%, 31%) |
| HSV | hsv(55, 82%, 53%) |
| CMYK | cmyk(0%, 7.5%, 82.1%, 47.5%) |
| CIE-LAB | lab(51.32, -7.35, 51.11) |
| CIE-LCH | lch(51.32, 51.64, 98.19°) |
| OKLab | oklab(57.79% -0.0262 0.1107) |
| OKLCH | oklch(57.79% 0.114 103.3) |
| XYZ | xyz(17.2048, 19.5503, 3.7313) |
| Luminance | 0.1955 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.40
Ugly Brown
#7D7103
ΔE00 4.24
Baby Poop
#937C00
ΔE00 4.53
Hazel
#8E7618
ΔE00 4.81
Shit Green
#758000
ΔE00 6.07
Puke Brown
#947706
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#867C18 #182286
analogous
#864518 #867C18 #598618
triadic
#867C18 #18867C #7C1886
tetradic
#867C18 #188645 #182286 #861859
square
#867C18 #188645 #182286 #861859
split-complementary
#867C18 #185986 #451886
monochromatic
#1E1C05 #524C0F #867C18 #BAAC21 #DCCE3C
Accessibility & contrast
On white
4.28
#867C18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#867C18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #867C18
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##867C18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##867C18 | 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: #867c18; /* rgb */ color: rgb(134, 124, 24); /* oklch */ color: oklch(57.8% 0.114 103.3);
Tailwind
colors: {
custom: {
50: '#ada15f',
500: '#867c18',
950: '#000000',
},
}SCSS
$custom: #867c18; $custom-light: #ada15f; $custom-dark: #000000;
JSON
{
"hex": "#867c18",
"rgb": {
"r": 134,
"g": 124,
"b": 24
},
"hsl": {
"h": 54.545,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.57788,
"c": 0.11377,
"h": 103.3
},
"luminance": 0.1955
}Semantic roles & 50–950 ramp
primary
#867C18
secondary
#404BBA
accent
#4BEC3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79