#867E18#867E18
#867E18 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.116 H 104.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #867E18 |
|---|---|
| RGB | rgb(134, 126, 24) |
| HSL | hsl(56, 70%, 31%) |
| HSV | hsv(56, 82%, 53%) |
| CMYK | cmyk(0%, 6%, 82.1%, 47.5%) |
| CIE-LAB | lab(51.90, -8.46, 51.62) |
| CIE-LCH | lch(51.90, 52.31, 99.30°) |
| OKLab | oklab(58.25% -0.0293 0.1118) |
| OKLCH | oklch(58.25% 0.116 104.7) |
| XYZ | xyz(17.4580, 20.0567, 3.8157) |
| Luminance | 0.2006 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.70
Ugly Brown
#7D7103
ΔE00 4.97
Baby Poop
#937C00
ΔE00 4.98
Shit Green
#758000
ΔE00 5.46
Hazel
#8E7618
ΔE00 5.60
Poop Green
#6F7C00
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#867E18 #182086
analogous
#864718 #867E18 #578618
triadic
#867E18 #18867E #7E1886
tetradic
#867E18 #188647 #182086 #861857
square
#867E18 #188647 #182086 #861857
split-complementary
#867E18 #185786 #471886
monochromatic
#1E1C05 #524D0F #867E18 #BAAF21 #DCD03C
Accessibility & contrast
On white
4.19
#867E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#867E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #867E18
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##867E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##867E18 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#91756B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #867e18; /* rgb */ color: rgb(134, 126, 24); /* oklch */ color: oklch(58.2% 0.116 104.7);
Tailwind
colors: {
custom: {
50: '#ada35f',
500: '#867e18',
950: '#000000',
},
}SCSS
$custom: #867e18; $custom-light: #ada35f; $custom-dark: #000000;
JSON
{
"hex": "#867e18",
"rgb": {
"r": 134,
"g": 126,
"b": 24
},
"hsl": {
"h": 55.636,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.58247,
"c": 0.11558,
"h": 104.7
},
"luminance": 0.20056
}Semantic roles & 50–950 ramp
primary
#867E18
secondary
#4049BA
accent
#48EC3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79