#987F29#987F29
#987F29 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.4% C 0.107 H 92.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #987F29 |
|---|---|
| RGB | rgb(152, 127, 41) |
| HSL | hsl(46, 58%, 38%) |
| HSV | hsv(46, 73%, 60%) |
| CMYK | cmyk(0%, 16.4%, 73%, 40.4%) |
| CIE-LAB | lab(54.04, 0.07, 48.00) |
| CIE-LCH | lch(54.04, 48.00, 89.92°) |
| OKLab | oklab(60.39% -0.0044 0.1068) |
| OKLCH | oklch(60.39% 0.107 92.3) |
| XYZ | xyz(20.9396, 22.0155, 5.2439) |
| Luminance | 0.2201 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.50
Hazel
#8E7618
ΔE00 3.67
Puke Brown
#947706
ΔE00 3.74
Yellowish Brown
#9B7A01
ΔE00 3.78
Diarrhea
#9F8303
ΔE00 3.90
Poo
#8F7303
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987F29 #294298
analogous
#984729 #987F29 #7A9829
triadic
#987F29 #29987F #7F2998
tetradic
#987F29 #299847 #294298 #98297A
square
#987F29 #299847 #294298 #98297A
split-complementary
#987F29 #297A98 #472998
monochromatic
#382E0F #68571C #987F29 #C8A736 #D6BC66
Accessibility & contrast
On white
3.89
#987F29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#987F29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987F29
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987F29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987F29 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D1C
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#A5746E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #987f29; /* rgb */ color: rgb(152, 127, 41); /* oklch */ color: oklch(60.4% 0.107 92.3);
Tailwind
colors: {
custom: {
50: '#baa368',
500: '#987f29',
950: '#000000',
},
}SCSS
$custom: #987f29; $custom-light: #baa368; $custom-dark: #000000;
JSON
{
"hex": "#987f29",
"rgb": {
"r": 152,
"g": 127,
"b": 41
},
"hsl": {
"h": 46.486,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.60392,
"c": 0.10684,
"h": 92.3
},
"luminance": 0.22014
}Semantic roles & 50–950 ramp
primary
#987F29
secondary
#6175BC
accent
#6AE147
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A