#8F871D#8F871D
#8F871D is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.2% C 0.120 H 104.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8F871D |
|---|---|
| RGB | rgb(143, 135, 29) |
| HSL | hsl(56, 66%, 34%) |
| HSV | hsv(56, 80%, 56%) |
| CMYK | cmyk(0%, 5.6%, 79.7%, 43.9%) |
| CIE-LAB | lab(55.34, -9.03, 53.41) |
| CIE-LCH | lch(55.34, 54.16, 99.60°) |
| OKLab | oklab(61.19% -0.0309 0.1162) |
| OKLCH | oklch(61.19% 0.12 104.9) |
| XYZ | xyz(20.2143, 23.2571, 4.5864) |
| Luminance | 0.2326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.05
Baby Poop
#937C00
ΔE00 5.70
Diarrhea
#9F8303
ΔE00 6.33
Shit Green
#758000
ΔE00 6.66
Baby Poop Green
#8F9805
ΔE00 6.84
Pea Soup
#929901
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F871D #1D258F
analogous
#8F4E1D #8F871D #5E8F1D
triadic
#8F871D #1D8F87 #871D8F
tetradic
#8F871D #1D8F4E #1D258F #8F1D5E
square
#8F871D #1D8F4E #1D258F #8F1D5E
split-complementary
#8F871D #1D5E8F #4E1D8F
monochromatic
#292708 #5C5713 #8F871D #C2B727 #DBD14C
Accessibility & contrast
On white
3.72
#8F871D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#8F871D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F871D
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F871D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F871D | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948201
Deuteranopia (green-blind)
#968726
Tritanopia (blue-blind)
#9A7D73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8f871d; /* rgb */ color: rgb(143, 135, 29); /* oklch */ color: oklch(61.2% 0.120 104.9);
Tailwind
colors: {
custom: {
50: '#b3a963',
500: '#8f871d',
950: '#000000',
},
}SCSS
$custom: #8f871d; $custom-light: #b3a963; $custom-dark: #000000;
JSON
{
"hex": "#8f871d",
"rgb": {
"r": 143,
"g": 135,
"b": 29
},
"hsl": {
"h": 55.789,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.61188,
"c": 0.12026,
"h": 104.9
},
"luminance": 0.23256
}Semantic roles & 50–950 ramp
primary
#8F871D
secondary
#4B53BD
accent
#4BE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A