#9B9658#9B9658
#9B9658 is a light, moderate yellow. Relative luminance 0.295; OKLCH L 66.3% C 0.083 H 104.4°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9658 |
|---|---|
| RGB | rgb(155, 150, 88) |
| HSL | hsl(56, 28%, 48%) |
| HSV | hsv(56, 43%, 61%) |
| CMYK | cmyk(0%, 3.2%, 43.2%, 39.2%) |
| CIE-LAB | lab(61.21, -7.45, 33.28) |
| CIE-LCH | lch(61.21, 34.11, 102.61°) |
| OKLab | oklab(66.3% -0.0207 0.0806) |
| OKLCH | oklch(66.3% 0.083 104.4) |
| XYZ | xyz(26.1859, 29.4865, 13.5427) |
| Luminance | 0.2949 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.09
Khaki (survey)
#AAA662
ΔE00 4.98
Moss Green
#8A9A5B
ΔE00 6.29
Dark Sand
#A88F59
ΔE00 7.33
Camo
#7F8F4E
ΔE00 7.34
Drab
#828344
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9658 #585D9B
analogous
#9B7458 #9B9658 #7F9B58
triadic
#9B9658 #589B96 #96589B
tetradic
#9B9658 #589B74 #585D9B #9B587F
square
#9B9658 #589B74 #585D9B #9B587F
split-complementary
#9B9658 #587F9B #74589B
monochromatic
#4D4A2C #747042 #9B9658 #B4B07C #CBC8A3
Accessibility & contrast
On white
3.04
#9B9658 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#9B9658 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9658
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9658 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9658 | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A09253
Deuteranopia (green-blind)
#A2955B
Tritanopia (blue-blind)
#A48F87
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9b9658; /* rgb */ color: rgb(155, 150, 88); /* oklch */ color: oklch(66.3% 0.083 104.4);
Tailwind
colors: {
custom: {
50: '#bab488',
500: '#9b9658',
950: '#000000',
},
}SCSS
$custom: #9b9658; $custom-light: #bab488; $custom-dark: #000000;
JSON
{
"hex": "#9b9658",
"rgb": {
"r": 155,
"g": 150,
"b": 88
},
"hsl": {
"h": 55.522,
"s": 27.572,
"l": 47.647
},
"oklch": {
"l": 0.663,
"c": 0.08321,
"h": 104.4
},
"luminance": 0.29486
}Semantic roles & 50–950 ramp
primary
#9B9658
secondary
#9699B8
accent
#6BC464
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110B
muted
#81807C