#8F8718#8F8718
#8F8718 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 61.2% C 0.123 H 105.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8718 |
|---|---|
| RGB | rgb(143, 135, 24) |
| HSL | hsl(56, 71%, 33%) |
| HSV | hsv(56, 83%, 56%) |
| CMYK | cmyk(0%, 5.6%, 83.2%, 43.9%) |
| CIE-LAB | lab(55.31, -9.21, 54.91) |
| CIE-LCH | lch(55.31, 55.68, 99.52°) |
| OKLab | oklab(61.16% -0.0318 0.1185) |
| OKLCH | oklch(61.16% 0.123 105) |
| XYZ | xyz(20.1574, 23.2344, 4.2869) |
| Luminance | 0.2323 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.96
Baby Poop
#937C00
ΔE00 5.62
Diarrhea
#9F8303
ΔE00 6.23
Shit Green
#758000
ΔE00 6.65
Baby Poop Green
#8F9805
ΔE00 6.73
Pea Soup
#929901
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8718 #18208F
analogous
#8F4B18 #8F8718 #5C8F18
triadic
#8F8718 #188F87 #87188F
tetradic
#8F8718 #188F4B #18208F #8F185C
square
#8F8718 #188F4B #18208F #8F185C
split-complementary
#8F8718 #185C8F #4B188F
monochromatic
#262406 #5B560F #8F8718 #C3B821 #DFD542
Accessibility & contrast
On white
3.72
#8F8718 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#8F8718 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8718
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8718 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8718 | 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)
#978622
Tritanopia (blue-blind)
#9A7D73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8f8718; /* rgb */ color: rgb(143, 135, 24); /* oklch */ color: oklch(61.2% 0.123 105.0);
Tailwind
colors: {
custom: {
50: '#b4a961',
500: '#8f8718',
950: '#000000',
},
}SCSS
$custom: #8f8718; $custom-light: #b4a961; $custom-dark: #000000;
JSON
{
"hex": "#8f8718",
"rgb": {
"r": 143,
"g": 135,
"b": 24
},
"hsl": {
"h": 55.966,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.61162,
"c": 0.12268,
"h": 105
},
"luminance": 0.23234
}Semantic roles & 50–950 ramp
primary
#8F8718
secondary
#434BC0
accent
#46EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A