#9D892F#9D892F
#9D892F is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.110 H 96.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9D892F |
|---|---|
| RGB | rgb(157, 137, 47) |
| HSL | hsl(49, 54%, 40%) |
| HSV | hsv(49, 70%, 62%) |
| CMYK | cmyk(0%, 12.7%, 70.1%, 38.4%) |
| CIE-LAB | lab(57.33, -2.88, 48.94) |
| CIE-LCH | lch(57.33, 49.02, 93.36°) |
| OKLab | oklab(63.12% -0.0124 0.1097) |
| OKLCH | oklch(63.12% 0.11 96.5) |
| XYZ | xyz(23.3645, 25.2658, 6.3349) |
| Luminance | 0.2526 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.14
Dark Mustard
#A88905
ΔE00 4.66
Baby Poo
#AB9004
ΔE00 5.22
Baby Shit Brown
#AD900D
ΔE00 5.26
Baby Poop
#937C00
ΔE00 5.35
Yellowy Brown
#AE8B0C
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D892F #2F439D
analogous
#9D522F #9D892F #7A9D2F
triadic
#9D892F #2F9D89 #892F9D
tetradic
#9D892F #2F9D52 #2F439D #9D2F7A
square
#9D892F #2F9D52 #2F439D #9D2F7A
split-complementary
#9D892F #2F7A9D #522F9D
monochromatic
#3F3713 #6E6021 #9D892F #C7AF43 #D5C372
Accessibility & contrast
On white
3.47
#9D892F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#9D892F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D892F
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D892F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D892F | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978623
Deuteranopia (green-blind)
#9C8C34
Tritanopia (blue-blind)
#A97F77
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9d892f; /* rgb */ color: rgb(157, 137, 47); /* oklch */ color: oklch(63.1% 0.110 96.5);
Tailwind
colors: {
custom: {
50: '#bdab6d',
500: '#9d892f',
950: '#000000',
},
}SCSS
$custom: #9d892f; $custom-light: #bdab6d; $custom-dark: #000000;
JSON
{
"hex": "#9d892f",
"rgb": {
"r": 157,
"g": 137,
"b": 47
},
"hsl": {
"h": 49.091,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.63124,
"c": 0.11038,
"h": 96.5
},
"luminance": 0.25265
}Semantic roles & 50–950 ramp
primary
#9D892F
secondary
#6B7ABC
accent
#65DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A