#8F861F#8F861F
#8F861F is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.118 H 104.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8F861F |
|---|---|
| RGB | rgb(143, 134, 31) |
| HSL | hsl(55, 64%, 34%) |
| HSV | hsv(55, 78%, 56%) |
| CMYK | cmyk(0%, 6.3%, 78.3%, 43.9%) |
| CIE-LAB | lab(55.06, -8.41, 52.49) |
| CIE-LCH | lch(55.06, 53.16, 99.10°) |
| OKLab | oklab(60.97% -0.029 0.1147) |
| OKLCH | oklch(60.97% 0.118 104.2) |
| XYZ | xyz(20.1010, 22.9896, 4.6747) |
| Luminance | 0.2299 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.09
Baby Poop
#937C00
ΔE00 5.36
Diarrhea
#9F8303
ΔE00 6.11
Shit Green
#758000
ΔE00 6.77
Hazel
#8E7618
ΔE00 7.01
Drab
#828344
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F861F #1F288F
analogous
#8F4E1F #8F861F #608F1F
triadic
#8F861F #1F8F86 #861F8F
tetradic
#8F861F #1F8F4E #1F288F #8F1F60
square
#8F861F #1F8F4E #1F288F #8F1F60
split-complementary
#8F861F #1F608F #4E1F8F
monochromatic
#2A2809 #5D5714 #8F861F #C1B52A #D9CE4F
Accessibility & contrast
On white
3.75
#8F861F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#8F861F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F861F
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F861F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F861F | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938106
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8f861f; /* rgb */ color: rgb(143, 134, 31); /* oklch */ color: oklch(61.0% 0.118 104.2);
Tailwind
colors: {
custom: {
50: '#b3a864',
500: '#8f861f',
950: '#000000',
},
}SCSS
$custom: #8f861f; $custom-light: #b3a864; $custom-dark: #000000;
JSON
{
"hex": "#8f861f",
"rgb": {
"r": 143,
"g": 134,
"b": 31
},
"hsl": {
"h": 55.179,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.60973,
"c": 0.11826,
"h": 104.2
},
"luminance": 0.22989
}Semantic roles & 50–950 ramp
primary
#8F861F
secondary
#4E57BC
accent
#4EE740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A