#8F8D15#8F8D15
#8F8D15 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.130 H 108.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8D15 |
|---|---|
| RGB | rgb(143, 141, 21) |
| HSL | hsl(59, 74%, 32%) |
| HSV | hsv(59, 85%, 56%) |
| CMYK | cmyk(0%, 1.4%, 85.3%, 43.9%) |
| CIE-LAB | lab(57.02, -12.53, 57.17) |
| CIE-LCH | lch(57.02, 58.53, 102.36°) |
| OKLab | oklab(62.52% -0.0413 0.1228) |
| OKLCH | oklch(62.52% 0.13 108.6) |
| XYZ | xyz(20.9888, 24.9442, 4.4184) |
| Luminance | 0.2494 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.24
Pea Soup
#929901
ΔE00 4.36
Olive
#808000
ΔE00 4.93
Baby Shit Green
#889717
ΔE00 4.96
Swamp Green
#748500
ΔE00 6.55
Shit Green
#758000
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8D15 #15178F
analogous
#8F5015 #8F8D15 #548F15
triadic
#8F8D15 #158F8D #8D158F
tetradic
#8F8D15 #158F50 #15178F #8F1554
square
#8F8D15 #158F50 #15178F #8F1554
split-complementary
#8F8D15 #15548F #50158F
monochromatic
#242405 #5A580D #8F8D15 #C4C21D #E2E03C
Accessibility & contrast
On white
3.51
#8F8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#8F8D15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8D15
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8D15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8D15 | 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)
#9B8B21
Tritanopia (blue-blind)
#9A8378
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8f8d15; /* rgb */ color: rgb(143, 141, 21); /* oklch */ color: oklch(62.5% 0.130 108.6);
Tailwind
colors: {
custom: {
50: '#b4ae61',
500: '#8f8d15',
950: '#000000',
},
}SCSS
$custom: #8f8d15; $custom-light: #b4ae61; $custom-dark: #000000;
JSON
{
"hex": "#8f8d15",
"rgb": {
"r": 143,
"g": 141,
"b": 21
},
"hsl": {
"h": 59.016,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.62521,
"c": 0.12956,
"h": 108.6
},
"luminance": 0.24944
}Semantic roles & 50–950 ramp
primary
#8F8D15
secondary
#3E40C2
accent
#3AF137
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A