#867F18#867F18
#867F18 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.117 H 105.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #867F18 |
|---|---|
| RGB | rgb(134, 127, 24) |
| HSL | hsl(56, 70%, 31%) |
| HSV | hsv(56, 82%, 53%) |
| CMYK | cmyk(0%, 5.2%, 82.1%, 47.5%) |
| CIE-LAB | lab(52.19, -9.01, 51.88) |
| CIE-LCH | lch(52.19, 52.65, 99.85°) |
| OKLab | oklab(58.48% -0.0308 0.1124) |
| OKLCH | oklch(58.48% 0.117 105.3) |
| XYZ | xyz(17.5865, 20.3137, 3.8585) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.41
Shit Green
#758000
ΔE00 5.19
Baby Poop
#937C00
ΔE00 5.24
Ugly Brown
#7D7103
ΔE00 5.36
Hazel
#8E7618
ΔE00 6.00
Poop Green
#6F7C00
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#867F18 #181F86
analogous
#864818 #867F18 #568618
triadic
#867F18 #18867F #7F1886
tetradic
#867F18 #188648 #181F86 #861856
square
#867F18 #188648 #181F86 #861856
split-complementary
#867F18 #185686 #481886
monochromatic
#1E1D05 #524E0F #867F18 #BAB021 #DCD23C
Accessibility & contrast
On white
4.15
#867F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#867F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #867F18
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##867F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##867F18 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#91766C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #867f18; /* rgb */ color: rgb(134, 127, 24); /* oklch */ color: oklch(58.5% 0.117 105.3);
Tailwind
colors: {
custom: {
50: '#ada360',
500: '#867f18',
950: '#000000',
},
}SCSS
$custom: #867f18; $custom-light: #ada360; $custom-dark: #000000;
JSON
{
"hex": "#867f18",
"rgb": {
"r": 134,
"g": 127,
"b": 24
},
"hsl": {
"h": 56.182,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.58477,
"c": 0.1165,
"h": 105.3
},
"luminance": 0.20313
}Semantic roles & 50–950 ramp
primary
#867F18
secondary
#4048BA
accent
#47EC3B
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79