#8F8A2A#8F8A2A
#8F8A2A is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.115 H 106.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8A2A |
|---|---|
| RGB | rgb(143, 138, 42) |
| HSL | hsl(57, 55%, 36%) |
| HSV | hsv(57, 71%, 56%) |
| CMYK | cmyk(0%, 3.5%, 70.6%, 43.9%) |
| CIE-LAB | lab(56.27, -10.04, 49.53) |
| CIE-LCH | lch(56.27, 50.53, 101.46°) |
| OKLab | oklab(61.96% -0.0324 0.1105) |
| OKLCH | oklch(61.96% 0.115 106.4) |
| XYZ | xyz(20.8349, 24.1845, 5.7606) |
| Luminance | 0.2418 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.84
Baby Poop Green
#8F9805
ΔE00 6.20
Pea Soup
#929901
ΔE00 6.38
Baby Shit Green
#889717
ΔE00 6.40
Drab
#828344
ΔE00 6.42
Shit Green
#758000
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8A2A #2A2F8F
analogous
#8F582A #8F8A2A #628F2A
triadic
#8F8A2A #2A8F8A #8A2A8F
tetradic
#8F8A2A #2A8F58 #2A2F8F #8F2A62
square
#8F8A2A #2A8F58 #2A2F8F #8F2A62
split-complementary
#8F8A2A #2A628F #582A8F
monochromatic
#302F0E #605C1C #8F8A2A #BEB838 #D1CC62
Accessibility & contrast
On white
3.60
#8F8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#8F8A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8A2A
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8A2A | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96851B
Deuteranopia (green-blind)
#988930
Tritanopia (blue-blind)
#9A8177
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8f8a2a; /* rgb */ color: rgb(143, 138, 42); /* oklch */ color: oklch(62.0% 0.115 106.4);
Tailwind
colors: {
custom: {
50: '#b3ab6a',
500: '#8f8a2a',
950: '#000000',
},
}SCSS
$custom: #8f8a2a; $custom-light: #b3ab6a; $custom-dark: #000000;
JSON
{
"hex": "#8f8a2a",
"rgb": {
"r": 143,
"g": 138,
"b": 42
},
"hsl": {
"h": 57.03,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.61959,
"c": 0.11516,
"h": 106.4
},
"luminance": 0.24184
}Semantic roles & 50–950 ramp
primary
#8F8A2A
secondary
#5E62B7
accent
#51DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A