#8F871C#8F871C
#8F871C is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.2% C 0.121 H 104.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8F871C |
|---|---|
| RGB | rgb(143, 135, 28) |
| HSL | hsl(56, 67%, 34%) |
| HSV | hsv(56, 80%, 56%) |
| CMYK | cmyk(0%, 5.6%, 80.4%, 43.9%) |
| CIE-LAB | lab(55.33, -9.07, 53.72) |
| CIE-LCH | lch(55.33, 54.48, 99.58°) |
| OKLab | oklab(61.18% -0.0311 0.1167) |
| OKLCH | oklch(61.18% 0.121 104.9) |
| XYZ | xyz(20.2022, 23.2522, 4.5224) |
| Luminance | 0.2325 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.03
Baby Poop
#937C00
ΔE00 5.68
Diarrhea
#9F8303
ΔE00 6.31
Shit Green
#758000
ΔE00 6.65
Baby Poop Green
#8F9805
ΔE00 6.81
Pea Soup
#929901
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F871C #1C248F
analogous
#8F4D1C #8F871C #5D8F1C
triadic
#8F871C #1C8F87 #871C8F
tetradic
#8F871C #1C8F4D #1C248F #8F1C5D
square
#8F871C #1C8F4D #1C248F #8F1C5D
split-complementary
#8F871C #1C5D8F #4D1C8F
monochromatic
#292608 #5C5712 #8F871C #C2B726 #DCD14A
Accessibility & contrast
On white
3.72
#8F871C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#8F871C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F871C
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F871C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F871C | 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)
#948200
Deuteranopia (green-blind)
#968725
Tritanopia (blue-blind)
#9A7D73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8f871c; /* rgb */ color: rgb(143, 135, 28); /* oklch */ color: oklch(61.2% 0.121 104.9);
Tailwind
colors: {
custom: {
50: '#b3a963',
500: '#8f871c',
950: '#000000',
},
}SCSS
$custom: #8f871c; $custom-light: #b3a963; $custom-dark: #000000;
JSON
{
"hex": "#8f871c",
"rgb": {
"r": 143,
"g": 135,
"b": 28
},
"hsl": {
"h": 55.826,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.61182,
"c": 0.12077,
"h": 104.9
},
"luminance": 0.23251
}Semantic roles & 50–950 ramp
primary
#8F871C
secondary
#4951BE
accent
#4AEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A