#9D975C#9D975C
#9D975C is a light, moderate yellow. Relative luminance 0.301; OKLCH L 66.8% C 0.080 H 103.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9D975C |
|---|---|
| RGB | rgb(157, 151, 92) |
| HSL | hsl(54, 26%, 49%) |
| HSV | hsv(54, 41%, 62%) |
| CMYK | cmyk(0%, 3.8%, 41.4%, 38.4%) |
| CIE-LAB | lab(61.72, -6.70, 31.84) |
| CIE-LCH | lch(61.72, 32.54, 101.89°) |
| OKLab | oklab(66.77% -0.0183 0.0775) |
| OKLCH | oklch(66.77% 0.08 103.3) |
| XYZ | xyz(26.9035, 30.0747, 14.5109) |
| Luminance | 0.3007 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.05
Khaki (survey)
#AAA662
ΔE00 4.77
Moss Green
#8A9A5B
ΔE00 6.62
Dark Sand
#A88F59
ΔE00 6.94
Dark Beige
#AC9362
ΔE00 7.36
Camo
#7F8F4E
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D975C #5C629D
analogous
#9D775C #9D975C #839D5C
triadic
#9D975C #5C9D97 #975C9D
tetradic
#9D975C #5C9D77 #5C629D #9D5C83
square
#9D975C #5C9D77 #5C629D #9D5C83
split-complementary
#9D975C #5C839D #775C9D
monochromatic
#504D2F #767245 #9D975C #B5B081 #CCC8A8
Accessibility & contrast
On white
2.99
#9D975C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.01
#9D975C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D975C
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D975C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D975C | 1.00 | 2.99 | 7.01 | 7.01 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A19357
Deuteranopia (green-blind)
#A3975E
Tritanopia (blue-blind)
#A69088
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9d975c; /* rgb */ color: rgb(157, 151, 92); /* oklch */ color: oklch(66.8% 0.080 103.3);
Tailwind
colors: {
custom: {
50: '#bbb58b',
500: '#9d975c',
950: '#000000',
},
}SCSS
$custom: #9d975c; $custom-light: #bbb58b; $custom-dark: #000000;
JSON
{
"hex": "#9d975c",
"rgb": {
"r": 157,
"g": 151,
"b": 92
},
"hsl": {
"h": 54.462,
"s": 26.104,
"l": 48.824
},
"oklch": {
"l": 0.66765,
"c": 0.07966,
"h": 103.3
},
"luminance": 0.30074
}Semantic roles & 50–950 ramp
primary
#9D975C
secondary
#9B9EBA
accent
#6EC265
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D