#8F8A24#8F8A24
#8F8A24 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.119 H 106.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8A24 |
|---|---|
| RGB | rgb(143, 138, 36) |
| HSL | hsl(57, 60%, 35%) |
| HSV | hsv(57, 75%, 56%) |
| CMYK | cmyk(0%, 3.5%, 74.8%, 43.9%) |
| CIE-LAB | lab(56.23, -10.35, 51.80) |
| CIE-LCH | lch(56.23, 52.83, 101.30°) |
| OKLab | oklab(61.91% -0.0339 0.1142) |
| OKLCH | oklch(61.91% 0.119 106.6) |
| XYZ | xyz(20.7354, 24.1447, 5.2369) |
| Luminance | 0.2414 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.55
Baby Poop Green
#8F9805
ΔE00 5.87
Pea Soup
#929901
ΔE00 6.02
Baby Shit Green
#889717
ΔE00 6.22
Shit Green
#758000
ΔE00 6.62
Swamp Green
#748500
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8A24 #24298F
analogous
#8F5424 #8F8A24 #5F8F24
triadic
#8F8A24 #248F8A #8A248F
tetradic
#8F8A24 #248F54 #24298F #8F245F
square
#8F8A24 #248F54 #24298F #8F245F
split-complementary
#8F8A24 #245F8F #54248F
monochromatic
#2D2C0B #5E5B18 #8F8A24 #C0B930 #D5CF58
Accessibility & contrast
On white
3.60
#8F8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#8F8A24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8A24
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8A24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8A24 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968510
Deuteranopia (green-blind)
#98892C
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8f8a24; /* rgb */ color: rgb(143, 138, 36); /* oklch */ color: oklch(61.9% 0.119 106.6);
Tailwind
colors: {
custom: {
50: '#b3ab67',
500: '#8f8a24',
950: '#000000',
},
}SCSS
$custom: #8f8a24; $custom-light: #b3ab67; $custom-dark: #000000;
JSON
{
"hex": "#8f8a24",
"rgb": {
"r": 143,
"g": 138,
"b": 36
},
"hsl": {
"h": 57.196,
"s": 59.777,
"l": 35.098
},
"oklch": {
"l": 0.61914,
"c": 0.11913,
"h": 106.6
},
"luminance": 0.24144
}Semantic roles & 50–950 ramp
primary
#8F8A24
secondary
#555AB9
accent
#4CE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A