#8F8D2A#8F8D2A
#8F8D2A is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.118 H 108.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8D2A |
|---|---|
| RGB | rgb(143, 141, 42) |
| HSL | hsl(59, 55%, 36%) |
| HSV | hsv(59, 71%, 56%) |
| CMYK | cmyk(0%, 1.4%, 70.6%, 43.9%) |
| CIE-LAB | lab(57.13, -11.65, 50.38) |
| CIE-LCH | lch(57.13, 51.71, 103.02°) |
| OKLab | oklab(62.64% -0.037 0.1123) |
| OKLCH | oklch(62.64% 0.118 108.2) |
| XYZ | xyz(21.2713, 25.0572, 5.9061) |
| Luminance | 0.2506 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.09
Baby Shit Green
#889717
ΔE00 5.21
Pea Soup
#929901
ΔE00 5.31
Olive
#808000
ΔE00 5.35
Swamp Green
#748500
ΔE00 6.67
Drab
#828344
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8D2A #2A2C8F
analogous
#8F5B2A #8F8D2A #5F8F2A
triadic
#8F8D2A #2A8F8D #8D2A8F
tetradic
#8F8D2A #2A8F5B #2A2C8F #8F2A5F
square
#8F8D2A #2A8F5B #2A2C8F #8F2A5F
split-complementary
#8F8D2A #2A5F8F #5B2A8F
monochromatic
#30300E #605E1C #8F8D2A #BEBC38 #D1CF62
Accessibility & contrast
On white
3.49
#8F8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#8F8D2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8D2A
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8D2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8D2A | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99871A
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#998479
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8f8d2a; /* rgb */ color: rgb(143, 141, 42); /* oklch */ color: oklch(62.6% 0.118 108.2);
Tailwind
colors: {
custom: {
50: '#b3ae6a',
500: '#8f8d2a',
950: '#000000',
},
}SCSS
$custom: #8f8d2a; $custom-light: #b3ae6a; $custom-dark: #000000;
JSON
{
"hex": "#8f8d2a",
"rgb": {
"r": 143,
"g": 141,
"b": 42
},
"hsl": {
"h": 58.812,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.62643,
"c": 0.11823,
"h": 108.2
},
"luminance": 0.25057
}Semantic roles & 50–950 ramp
primary
#8F8D2A
secondary
#5E60B7
accent
#4DDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A