#8F8818#8F8818
#8F8818 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.124 H 105.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8818 |
|---|---|
| RGB | rgb(143, 136, 24) |
| HSL | hsl(56, 71%, 33%) |
| HSV | hsv(56, 83%, 56%) |
| CMYK | cmyk(0%, 4.9%, 83.2%, 43.9%) |
| CIE-LAB | lab(55.60, -9.75, 55.16) |
| CIE-LCH | lch(55.60, 56.02, 100.03°) |
| OKLab | oklab(61.39% -0.0333 0.119) |
| OKLCH | oklch(61.39% 0.124 105.6) |
| XYZ | xyz(20.2976, 23.5147, 4.3336) |
| Luminance | 0.2351 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.04
Baby Poop
#937C00
ΔE00 6.02
Baby Poop Green
#8F9805
ΔE00 6.31
Pea Soup
#929901
ΔE00 6.39
Diarrhea
#9F8303
ΔE00 6.53
Shit Green
#758000
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8818 #181F8F
analogous
#8F4D18 #8F8818 #5A8F18
triadic
#8F8818 #188F88 #88188F
tetradic
#8F8818 #188F4D #181F8F #8F185A
square
#8F8818 #188F4D #181F8F #8F185A
split-complementary
#8F8818 #185A8F #4D188F
monochromatic
#262406 #5B560F #8F8818 #C3BA21 #DFD642
Accessibility & contrast
On white
3.68
#8F8818 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#8F8818 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8818
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8818 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8818 | 1.00 | 3.68 | 5.70 | 5.70 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#9A7E74
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8f8818; /* rgb */ color: rgb(143, 136, 24); /* oklch */ color: oklch(61.4% 0.124 105.6);
Tailwind
colors: {
custom: {
50: '#b4aa61',
500: '#8f8818',
950: '#000000',
},
}SCSS
$custom: #8f8818; $custom-light: #b4aa61; $custom-dark: #000000;
JSON
{
"hex": "#8f8818",
"rgb": {
"r": 143,
"g": 136,
"b": 24
},
"hsl": {
"h": 56.471,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.6139,
"c": 0.12359,
"h": 105.6
},
"luminance": 0.23514
}Semantic roles & 50–950 ramp
primary
#8F8818
secondary
#434AC0
accent
#44EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A