#9D975F#9D975F
#9D975F is a light, moderate yellow. Relative luminance 0.301; OKLCH L 66.8% C 0.076 H 103.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9D975F |
|---|---|
| RGB | rgb(157, 151, 95) |
| HSL | hsl(54, 25%, 49%) |
| HSV | hsv(54, 39%, 62%) |
| CMYK | cmyk(0%, 3.8%, 39.5%, 38.4%) |
| CIE-LAB | lab(61.76, -6.36, 30.29) |
| CIE-LCH | lch(61.76, 30.95, 101.85°) |
| OKLab | oklab(66.82% -0.0171 0.0741) |
| OKLCH | oklch(66.82% 0.076 103) |
| XYZ | xyz(27.0372, 30.1282, 15.2153) |
| Luminance | 0.3013 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.13
Khaki (survey)
#AAA662
ΔE00 5.00
Moss Green
#8A9A5B
ΔE00 6.69
Dark Sand
#A88F59
ΔE00 6.86
Dark Beige
#AC9362
ΔE00 7.17
Camo
#7F8F4E
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D975F #5F659D
analogous
#9D785F #9D975F #849D5F
triadic
#9D975F #5F9D97 #975F9D
tetradic
#9D975F #5F9D78 #5F659D #9D5F84
square
#9D975F #5F9D78 #5F659D #9D5F84
split-complementary
#9D975F #5F849D #785F9D
monochromatic
#514E31 #777248 #9D975F #B5B084 #CCC9AB
Accessibility & contrast
On white
2.99
#9D975F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#9D975F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D975F
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D975F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D975F | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0935B
Deuteranopia (green-blind)
#A39761
Tritanopia (blue-blind)
#A69089
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9d975f; /* rgb */ color: rgb(157, 151, 95); /* oklch */ color: oklch(66.8% 0.076 103.0);
Tailwind
colors: {
custom: {
50: '#bbb58d',
500: '#9d975f',
950: '#000000',
},
}SCSS
$custom: #9d975f; $custom-light: #bbb58d; $custom-dark: #000000;
JSON
{
"hex": "#9d975f",
"rgb": {
"r": 157,
"g": 151,
"b": 95
},
"hsl": {
"h": 54.194,
"s": 24.603,
"l": 49.412
},
"oklch": {
"l": 0.66817,
"c": 0.07609,
"h": 103
},
"luminance": 0.30128
}Semantic roles & 50–950 ramp
primary
#9D975F
secondary
#9EA0BA
accent
#70C167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D