#867D18#867D18
#867D18 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.0% C 0.115 H 104.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #867D18 |
|---|---|
| RGB | rgb(134, 125, 24) |
| HSL | hsl(55, 70%, 31%) |
| HSV | hsv(55, 82%, 53%) |
| CMYK | cmyk(0%, 6.7%, 82.1%, 47.5%) |
| CIE-LAB | lab(51.61, -7.91, 51.37) |
| CIE-LCH | lch(51.61, 51.97, 98.75°) |
| OKLab | oklab(58.02% -0.0277 0.1113) |
| OKLCH | oklch(58.02% 0.115 104) |
| XYZ | xyz(17.3308, 19.8022, 3.7733) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.04
Ugly Brown
#7D7103
ΔE00 4.60
Baby Poop
#937C00
ΔE00 4.74
Hazel
#8E7618
ΔE00 5.20
Shit Green
#758000
ΔE00 5.76
Olive (survey)
#6E750E
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#867D18 #182186
analogous
#864618 #867D18 #588618
triadic
#867D18 #18867D #7D1886
tetradic
#867D18 #188646 #182186 #861858
square
#867D18 #188646 #182186 #861858
split-complementary
#867D18 #185886 #461886
monochromatic
#1E1C05 #524D0F #867D18 #BAAD21 #DCCF3C
Accessibility & contrast
On white
4.23
#867D18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#867D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #867D18
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##867D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##867D18 | 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)
#897800
Deuteranopia (green-blind)
#8C7D21
Tritanopia (blue-blind)
#91746B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #867d18; /* rgb */ color: rgb(134, 125, 24); /* oklch */ color: oklch(58.0% 0.115 104.0);
Tailwind
colors: {
custom: {
50: '#ada25f',
500: '#867d18',
950: '#000000',
},
}SCSS
$custom: #867d18; $custom-light: #ada25f; $custom-dark: #000000;
JSON
{
"hex": "#867d18",
"rgb": {
"r": 134,
"g": 125,
"b": 24
},
"hsl": {
"h": 55.091,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.58017,
"c": 0.11466,
"h": 104
},
"luminance": 0.19802
}Semantic roles & 50–950 ramp
primary
#867D18
secondary
#404ABA
accent
#4AEC3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79