#9D995F#9D995F
#9D995F is a light, moderate yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.078 H 104.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9D995F |
|---|---|
| RGB | rgb(157, 153, 95) |
| HSL | hsl(56, 25%, 49%) |
| HSV | hsv(56, 39%, 62%) |
| CMYK | cmyk(0%, 2.5%, 39.5%, 38.4%) |
| CIE-LAB | lab(62.32, -7.44, 31.00) |
| CIE-LCH | lch(62.32, 31.88, 103.49°) |
| OKLab | oklab(67.26% -0.0202 0.0758) |
| OKLCH | oklch(67.26% 0.078 104.9) |
| XYZ | xyz(27.3618, 30.7774, 15.3235) |
| Luminance | 0.3078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.90
Khaki (survey)
#AAA662
ΔE00 4.34
Moss Green
#8A9A5B
ΔE00 6.04
Dark Sand
#A88F59
ΔE00 7.66
Camo
#7F8F4E
ΔE00 7.68
Dark Beige
#AC9362
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D995F #5F639D
analogous
#9D7A5F #9D995F #829D5F
triadic
#9D995F #5F9D99 #995F9D
tetradic
#9D995F #5F9D7A #5F639D #9D5F82
square
#9D995F #5F9D7A #5F639D #9D5F82
split-complementary
#9D995F #5F829D #7A5F9D
monochromatic
#514F31 #777448 #9D995F #B5B284 #CCCAAB
Accessibility & contrast
On white
2.93
#9D995F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#9D995F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D995F
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D995F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D995F | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2955B
Deuteranopia (green-blind)
#A49861
Tritanopia (blue-blind)
#A5928B
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9d995f; /* rgb */ color: rgb(157, 153, 95); /* oklch */ color: oklch(67.3% 0.078 104.9);
Tailwind
colors: {
custom: {
50: '#bbb68d',
500: '#9d995f',
950: '#000000',
},
}SCSS
$custom: #9d995f; $custom-light: #bbb68d; $custom-dark: #000000;
JSON
{
"hex": "#9d995f",
"rgb": {
"r": 157,
"g": 153,
"b": 95
},
"hsl": {
"h": 56.129,
"s": 24.603,
"l": 49.412
},
"oklch": {
"l": 0.67257,
"c": 0.07842,
"h": 104.9
},
"luminance": 0.30777
}Semantic roles & 50–950 ramp
primary
#9D995F
secondary
#9E9FBA
accent
#6DC167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D