#9D882F#9D882F
#9D882F is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.9% C 0.110 H 95.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9D882F |
|---|---|
| RGB | rgb(157, 136, 47) |
| HSL | hsl(49, 54%, 40%) |
| HSV | hsv(49, 70%, 62%) |
| CMYK | cmyk(0%, 13.4%, 70.1%, 38.4%) |
| CIE-LAB | lab(57.06, -2.33, 48.66) |
| CIE-LCH | lch(57.06, 48.71, 92.74°) |
| OKLab | oklab(62.91% -0.0108 0.1091) |
| OKLCH | oklch(62.91% 0.11 95.7) |
| XYZ | xyz(23.2230, 24.9829, 6.2877) |
| Luminance | 0.2498 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.95
Dark Mustard
#A88905
ΔE00 4.58
Baby Poop
#937C00
ΔE00 5.13
Baby Shit Brown
#AD900D
ΔE00 5.36
Baby Poo
#AB9004
ΔE00 5.36
Yellowy Brown
#AE8B0C
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D882F #2F449D
analogous
#9D512F #9D882F #7B9D2F
triadic
#9D882F #2F9D88 #882F9D
tetradic
#9D882F #2F9D51 #2F449D #9D2F7B
square
#9D882F #2F9D51 #2F449D #9D2F7B
split-complementary
#9D882F #2F7B9D #512F9D
monochromatic
#3F3613 #6E5F21 #9D882F #C7AD43 #D5C272
Accessibility & contrast
On white
3.50
#9D882F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#9D882F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D882F
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D882F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D882F | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968523
Deuteranopia (green-blind)
#9B8C34
Tritanopia (blue-blind)
#A97E76
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9d882f; /* rgb */ color: rgb(157, 136, 47); /* oklch */ color: oklch(62.9% 0.110 95.7);
Tailwind
colors: {
custom: {
50: '#bdaa6d',
500: '#9d882f',
950: '#000000',
},
}SCSS
$custom: #9d882f; $custom-light: #bdaa6d; $custom-dark: #000000;
JSON
{
"hex": "#9d882f",
"rgb": {
"r": 157,
"g": 136,
"b": 47
},
"hsl": {
"h": 48.545,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.62907,
"c": 0.10963,
"h": 95.7
},
"luminance": 0.24982
}Semantic roles & 50–950 ramp
primary
#9D882F
secondary
#6B7BBC
accent
#67DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A