#9D995B#9D995B
#9D995B is a light, moderate yellow. Relative luminance 0.307; OKLCH L 67.2% C 0.083 H 105.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9D995B |
|---|---|
| RGB | rgb(157, 153, 91) |
| HSL | hsl(56, 27%, 49%) |
| HSV | hsv(56, 42%, 62%) |
| CMYK | cmyk(0%, 2.5%, 42%, 38.4%) |
| CIE-LAB | lab(62.26, -7.89, 33.05) |
| CIE-LCH | lch(62.26, 33.98, 103.43°) |
| OKLab | oklab(67.19% -0.0218 0.0802) |
| OKLCH | oklch(67.19% 0.083 105.2) |
| XYZ | xyz(27.1847, 30.7066, 14.3904) |
| Luminance | 0.3071 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.91
Khaki (survey)
#AAA662
ΔE00 4.10
Moss Green
#8A9A5B
ΔE00 6.03
Camo
#7F8F4E
ΔE00 7.59
Dark Sand
#A88F59
ΔE00 7.79
Dark Beige
#AC9362
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D995B #5B5F9D
analogous
#9D785B #9D995B #809D5B
triadic
#9D995B #5B9D99 #995B9D
tetradic
#9D995B #5B9D78 #5B5F9D #9D5B80
square
#9D995B #5B9D78 #5B5F9D #9D5B80
split-complementary
#9D995B #5B809D #785B9D
monochromatic
#504D2E #767345 #9D995B #B5B280 #CCCAA7
Accessibility & contrast
On white
2.94
#9D995B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#9D995B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D995B
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D995B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D995B | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39556
Deuteranopia (green-blind)
#A5985E
Tritanopia (blue-blind)
#A6928A
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9d995b; /* rgb */ color: rgb(157, 153, 91); /* oklch */ color: oklch(67.2% 0.083 105.2);
Tailwind
colors: {
custom: {
50: '#bbb68a',
500: '#9d995b',
950: '#000000',
},
}SCSS
$custom: #9d995b; $custom-light: #bbb68a; $custom-dark: #000000;
JSON
{
"hex": "#9d995b",
"rgb": {
"r": 157,
"g": 153,
"b": 91
},
"hsl": {
"h": 56.364,
"s": 26.613,
"l": 48.627
},
"oklch": {
"l": 0.67189,
"c": 0.08314,
"h": 105.2
},
"luminance": 0.30706
}Semantic roles & 50–950 ramp
primary
#9D995B
secondary
#9A9CBA
accent
#6BC365
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D