#9B975B#9B975B
#9B975B is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.6% C 0.081 H 105.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9B975B |
|---|---|
| RGB | rgb(155, 151, 91) |
| HSL | hsl(56, 26%, 48%) |
| HSV | hsv(56, 41%, 61%) |
| CMYK | cmyk(0%, 2.6%, 41.3%, 39.2%) |
| CIE-LAB | lab(61.53, -7.66, 32.10) |
| CIE-LCH | lch(61.53, 33.00, 103.41°) |
| OKLab | oklab(66.57% -0.021 0.0781) |
| OKLCH | oklch(66.57% 0.081 105.1) |
| XYZ | xyz(26.4730, 29.8578, 14.2641) |
| Luminance | 0.2986 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.46
Khaki (survey)
#AAA662
ΔE00 4.80
Moss Green
#8A9A5B
ΔE00 5.95
Camo
#7F8F4E
ΔE00 7.24
Dark Sand
#A88F59
ΔE00 7.60
Drab
#828344
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B975B #5B5F9B
analogous
#9B775B #9B975B #7F9B5B
triadic
#9B975B #5B9B97 #975B9B
tetradic
#9B975B #5B9B77 #5B5F9B #9B5B7F
square
#9B975B #5B9B77 #5B5F9B #9B5B7F
split-complementary
#9B975B #5B7F9B #775B9B
monochromatic
#4E4C2E #747144 #9B975B #B4B17F #CBC8A6
Accessibility & contrast
On white
3.01
#9B975B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#9B975B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B975B
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B975B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B975B | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A19356
Deuteranopia (green-blind)
#A2965E
Tritanopia (blue-blind)
#A49088
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9b975b; /* rgb */ color: rgb(155, 151, 91); /* oklch */ color: oklch(66.6% 0.081 105.1);
Tailwind
colors: {
custom: {
50: '#b9b58a',
500: '#9b975b',
950: '#000000',
},
}SCSS
$custom: #9b975b; $custom-light: #b9b58a; $custom-dark: #000000;
JSON
{
"hex": "#9b975b",
"rgb": {
"r": 155,
"g": 151,
"b": 91
},
"hsl": {
"h": 56.25,
"s": 26.016,
"l": 48.235
},
"oklch": {
"l": 0.6657,
"c": 0.08086,
"h": 105.1
},
"luminance": 0.29857
}Semantic roles & 50–950 ramp
primary
#9B975B
secondary
#999BB9
accent
#6BC265
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D