#8F8E18#8F8E18
#8F8E18 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.129 H 109.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8E18 |
|---|---|
| RGB | rgb(143, 142, 24) |
| HSL | hsl(59, 71%, 33%) |
| HSV | hsv(59, 83%, 56%) |
| CMYK | cmyk(0%, 0.7%, 83.2%, 43.9%) |
| CIE-LAB | lab(57.32, -12.97, 56.64) |
| CIE-LCH | lch(57.32, 58.11, 102.90°) |
| OKLab | oklab(62.76% -0.0423 0.1222) |
| OKLCH | oklch(62.76% 0.129 109.1) |
| XYZ | xyz(21.1664, 25.2523, 4.6232) |
| Luminance | 0.2525 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.91
Pea Soup
#929901
ΔE00 4.06
Baby Shit Green
#889717
ΔE00 4.57
Olive
#808000
ΔE00 5.19
Swamp Green
#748500
ΔE00 6.51
Shit Green
#758000
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8E18 #18198F
analogous
#8F5318 #8F8E18 #548F18
triadic
#8F8E18 #188F8E #8E188F
tetradic
#8F8E18 #188F53 #18198F #8F1854
square
#8F8E18 #188F53 #18198F #8F1854
split-complementary
#8F8E18 #18548F #53188F
monochromatic
#262606 #5B5A0F #8F8E18 #C3C221 #DFDE42
Accessibility & contrast
On white
3.47
#8F8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#8F8E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8E18
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8E18 | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9C8B23
Tritanopia (blue-blind)
#9A8479
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8f8e18; /* rgb */ color: rgb(143, 142, 24); /* oklch */ color: oklch(62.8% 0.129 109.1);
Tailwind
colors: {
custom: {
50: '#b4ae62',
500: '#8f8e18',
950: '#000000',
},
}SCSS
$custom: #8f8e18; $custom-light: #b4ae62; $custom-dark: #000000;
JSON
{
"hex": "#8f8e18",
"rgb": {
"r": 143,
"g": 142,
"b": 24
},
"hsl": {
"h": 59.496,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.62763,
"c": 0.12932,
"h": 109.1
},
"luminance": 0.25252
}Semantic roles & 50–950 ramp
primary
#8F8E18
secondary
#4344C0
accent
#3BEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A