#8F8D18#8F8D18
#8F8D18 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.128 H 108.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8D18 |
|---|---|
| RGB | rgb(143, 141, 24) |
| HSL | hsl(59, 71%, 33%) |
| HSV | hsv(59, 83%, 56%) |
| CMYK | cmyk(0%, 1.4%, 83.2%, 43.9%) |
| CIE-LAB | lab(57.03, -12.44, 56.39) |
| CIE-LCH | lch(57.03, 57.75, 102.44°) |
| OKLab | oklab(62.53% -0.0408 0.1217) |
| OKLCH | oklch(62.53% 0.128 108.5) |
| XYZ | xyz(21.0183, 24.9560, 4.5738) |
| Luminance | 0.2495 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.30
Pea Soup
#929901
ΔE00 4.43
Olive
#808000
ΔE00 4.94
Baby Shit Green
#889717
ΔE00 4.95
Swamp Green
#748500
ΔE00 6.53
Shit Green
#758000
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8D18 #181A8F
analogous
#8F5218 #8F8D18 #558F18
triadic
#8F8D18 #188F8D #8D188F
tetradic
#8F8D18 #188F52 #181A8F #8F1855
square
#8F8D18 #188F52 #181A8F #8F1855
split-complementary
#8F8D18 #18558F #52188F
monochromatic
#262606 #5B590F #8F8D18 #C3C121 #DFDD42
Accessibility & contrast
On white
3.51
#8F8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#8F8D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8D18
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8D18 | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9B8B23
Tritanopia (blue-blind)
#9A8378
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8f8d18; /* rgb */ color: rgb(143, 141, 24); /* oklch */ color: oklch(62.5% 0.128 108.5);
Tailwind
colors: {
custom: {
50: '#b4ae62',
500: '#8f8d18',
950: '#000000',
},
}SCSS
$custom: #8f8d18; $custom-light: #b4ae62; $custom-dark: #000000;
JSON
{
"hex": "#8f8d18",
"rgb": {
"r": 143,
"g": 141,
"b": 24
},
"hsl": {
"h": 58.992,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.62533,
"c": 0.12834,
"h": 108.5
},
"luminance": 0.24955
}Semantic roles & 50–950 ramp
primary
#8F8D18
secondary
#4345C0
accent
#3DEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A