#8F8D1A#8F8D1A
#8F8D1A is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.127 H 108.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8D1A |
|---|---|
| RGB | rgb(143, 141, 26) |
| HSL | hsl(59, 69%, 33%) |
| HSV | hsv(59, 82%, 56%) |
| CMYK | cmyk(0%, 1.4%, 81.8%, 43.9%) |
| CIE-LAB | lab(57.04, -12.37, 55.84) |
| CIE-LCH | lch(57.04, 57.19, 102.49°) |
| OKLab | oklab(62.54% -0.0405 0.1209) |
| OKLCH | oklch(62.54% 0.127 108.5) |
| XYZ | xyz(21.0399, 24.9647, 4.6875) |
| Luminance | 0.2496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.34
Pea Soup
#929901
ΔE00 4.49
Baby Shit Green
#889717
ΔE00 4.94
Olive
#808000
ΔE00 4.95
Swamp Green
#748500
ΔE00 6.52
Shit Green
#758000
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8D1A #1A1C8F
analogous
#8F521A #8F8D1A #578F1A
triadic
#8F8D1A #1A8F8D #8D1A8F
tetradic
#8F8D1A #1A8F52 #1A1C8F #8F1A57
square
#8F8D1A #1A8F52 #1A1C8F #8F1A57
split-complementary
#8F8D1A #1A578F #521A8F
monochromatic
#272707 #5B5A11 #8F8D1A #C3C023 #DDDB46
Accessibility & contrast
On white
3.50
#8F8D1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#8F8D1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8D1A
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8D1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8D1A | 1.00 | 3.50 | 5.99 | 5.99 |
| #FFFFFF | 3.50 | 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)
#9B8B25
Tritanopia (blue-blind)
#9A8378
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8f8d1a; /* rgb */ color: rgb(143, 141, 26); /* oklch */ color: oklch(62.5% 0.127 108.5);
Tailwind
colors: {
custom: {
50: '#b3ae63',
500: '#8f8d1a',
950: '#000000',
},
}SCSS
$custom: #8f8d1a; $custom-light: #b3ae63; $custom-dark: #000000;
JSON
{
"hex": "#8f8d1a",
"rgb": {
"r": 143,
"g": 141,
"b": 26
},
"hsl": {
"h": 58.974,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.62543,
"c": 0.12746,
"h": 108.5
},
"luminance": 0.24964
}Semantic roles & 50–950 ramp
primary
#8F8D1A
secondary
#4648BF
accent
#3FEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A