#8F861A#8F861A
#8F861A is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.121 H 104.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8F861A |
|---|---|
| RGB | rgb(143, 134, 26) |
| HSL | hsl(55, 69%, 33%) |
| HSV | hsv(55, 82%, 56%) |
| CMYK | cmyk(0%, 6.3%, 81.8%, 43.9%) |
| CIE-LAB | lab(55.04, -8.60, 54.08) |
| CIE-LCH | lch(55.04, 54.76, 99.03°) |
| OKLab | oklab(60.95% -0.0299 0.1171) |
| OKLCH | oklch(60.95% 0.121 104.3) |
| XYZ | xyz(20.0402, 22.9653, 4.3542) |
| Luminance | 0.2296 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.96
Baby Poop
#937C00
ΔE00 5.25
Diarrhea
#9F8303
ΔE00 5.99
Shit Green
#758000
ΔE00 6.73
Hazel
#8E7618
ΔE00 7.07
Baby Poop Green
#8F9805
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F861A #1A238F
analogous
#8F4C1A #8F861A #5D8F1A
triadic
#8F861A #1A8F86 #861A8F
tetradic
#8F861A #1A8F4C #1A238F #8F1A5D
square
#8F861A #1A8F4C #1A238F #8F1A5D
split-complementary
#8F861A #1A5D8F #4C1A8F
monochromatic
#272507 #5B5511 #8F861A #C3B723 #DDD246
Accessibility & contrast
On white
3.75
#8F861A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#8F861A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F861A
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F861A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F861A | 1.00 | 3.75 | 5.59 | 5.59 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#9A7C72
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8f861a; /* rgb */ color: rgb(143, 134, 26); /* oklch */ color: oklch(60.9% 0.121 104.3);
Tailwind
colors: {
custom: {
50: '#b4a862',
500: '#8f861a',
950: '#000000',
},
}SCSS
$custom: #8f861a; $custom-light: #b4a862; $custom-dark: #000000;
JSON
{
"hex": "#8f861a",
"rgb": {
"r": 143,
"g": 134,
"b": 26
},
"hsl": {
"h": 55.385,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.60945,
"c": 0.12085,
"h": 104.3
},
"luminance": 0.22964
}Semantic roles & 50–950 ramp
primary
#8F861A
secondary
#464FBF
accent
#49EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A