#987D2C#987D2C
#987D2C is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 60.0% C 0.103 H 90.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #987D2C |
|---|---|
| RGB | rgb(152, 125, 44) |
| HSL | hsl(45, 55%, 38%) |
| HSV | hsv(45, 71%, 60%) |
| CMYK | cmyk(0%, 17.8%, 71.1%, 40.4%) |
| CIE-LAB | lab(53.52, 1.35, 46.18) |
| CIE-LCH | lch(53.52, 46.20, 88.32°) |
| OKLab | oklab(59.99% -0.0003 0.1035) |
| OKLCH | oklch(59.99% 0.103 90.2) |
| XYZ | xyz(20.7383, 21.5257, 5.4450) |
| Luminance | 0.2152 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.55
Puke Brown
#947706
ΔE00 3.70
Yellowish Brown
#9B7A01
ΔE00 3.81
Baby Poop
#937C00
ΔE00 4.23
Poo
#8F7303
ΔE00 4.73
Diarrhea
#9F8303
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987D2C #2C4798
analogous
#98472C #987D2C #7D982C
triadic
#987D2C #2C987D #7D2C98
tetradic
#987D2C #2C9847 #2C4798 #982C7D
square
#987D2C #2C9847 #2C4798 #982C7D
split-complementary
#987D2C #2C7D98 #472C98
monochromatic
#392F11 #69561E #987D2C #C6A33B #D4BA6A
Accessibility & contrast
On white
3.96
#987D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#987D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987D2C
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987D2C | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B21
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#A5736C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #987d2c; /* rgb */ color: rgb(152, 125, 44); /* oklch */ color: oklch(60.0% 0.103 90.2);
Tailwind
colors: {
custom: {
50: '#baa26a',
500: '#987d2c',
950: '#000000',
},
}SCSS
$custom: #987d2c; $custom-light: #baa26a; $custom-dark: #000000;
JSON
{
"hex": "#987d2c",
"rgb": {
"r": 152,
"g": 125,
"b": 44
},
"hsl": {
"h": 45,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.59987,
"c": 0.10347,
"h": 90.2
},
"luminance": 0.21524
}Semantic roles & 50–950 ramp
primary
#987D2C
secondary
#657ABB
accent
#6FDE49
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A