#9D893B#9D893B
#9D893B is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.101 H 95.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9D893B |
|---|---|
| RGB | rgb(157, 137, 59) |
| HSL | hsl(48, 45%, 42%) |
| HSV | hsv(48, 62%, 62%) |
| CMYK | cmyk(0%, 12.7%, 62.4%, 38.4%) |
| CIE-LAB | lab(57.44, -2.11, 43.59) |
| CIE-LCH | lch(57.44, 43.65, 92.77°) |
| OKLab | oklab(63.24% -0.0087 0.1003) |
| OKLCH | oklch(63.24% 0.101 95) |
| XYZ | xyz(23.6407, 25.3763, 7.7897) |
| Luminance | 0.2537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.81
Diarrhea
#9F8303
ΔE00 5.48
Dark Sand
#A88F59
ΔE00 5.93
Dark Mustard
#A88905
ΔE00 5.94
Baby Poop
#937C00
ΔE00 6.41
Baby Shit Brown
#AD900D
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D893B #3B4F9D
analogous
#9D583B #9D893B #809D3B
triadic
#9D893B #3B9D89 #893B9D
tetradic
#9D893B #3B9D58 #3B4F9D #9D3B80
square
#9D893B #3B9D58 #3B4F9D #9D3B80
split-complementary
#9D893B #3B809D #583B9D
monochromatic
#443B1A #71622A #9D893B #BFAA56 #D0C082
Accessibility & contrast
On white
3.46
#9D893B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#9D893B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D893B
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D893B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D893B | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968633
Deuteranopia (green-blind)
#9B8D3F
Tritanopia (blue-blind)
#A97F78
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9d893b; /* rgb */ color: rgb(157, 137, 59); /* oklch */ color: oklch(63.2% 0.101 95.0);
Tailwind
colors: {
custom: {
50: '#bdab74',
500: '#9d893b',
950: '#000000',
},
}SCSS
$custom: #9d893b; $custom-light: #bdab74; $custom-dark: #000000;
JSON
{
"hex": "#9d893b",
"rgb": {
"r": 157,
"g": 137,
"b": 59
},
"hsl": {
"h": 47.755,
"s": 45.37,
"l": 42.353
},
"oklch": {
"l": 0.63243,
"c": 0.10065,
"h": 95
},
"luminance": 0.25375
}Semantic roles & 50–950 ramp
primary
#9D893B
secondary
#7A87BA
accent
#6DD553
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B