#9B9955#9B9955
#9B9955 is a light, moderate yellow. Relative luminance 0.304; OKLCH L 66.9% C 0.090 H 107.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9955 |
|---|---|
| RGB | rgb(155, 153, 85) |
| HSL | hsl(58, 29%, 47%) |
| HSV | hsv(58, 45%, 61%) |
| CMYK | cmyk(0%, 1.3%, 45.2%, 39.2%) |
| CIE-LAB | lab(62.00, -9.38, 35.85) |
| CIE-LCH | lch(62.00, 37.06, 104.67°) |
| OKLab | oklab(66.92% -0.0265 0.0861) |
| OKLCH | oklch(66.92% 0.09 107.1) |
| XYZ | xyz(26.5490, 30.4075, 13.0633) |
| Luminance | 0.3041 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.21
Dark Khaki
#9B8F55
ΔE00 4.55
Moss Green
#8A9A5B
ΔE00 5.61
Camo
#7F8F4E
ΔE00 7.06
Drab
#828344
ΔE00 7.92
Baby Shit Green
#889717
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9955 #55579B
analogous
#9B7655 #9B9955 #7A9B55
triadic
#9B9955 #559B99 #99559B
tetradic
#9B9955 #559B76 #55579B #9B557A
square
#9B9955 #559B76 #55579B #9B557A
split-complementary
#9B9955 #557A9B #76559B
monochromatic
#4C4B2A #73723F #9B9955 #B5B378 #CBC9A0
Accessibility & contrast
On white
2.97
#9B9955 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#9B9955 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B9955
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9955 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9955 | 1.00 | 2.97 | 7.08 | 7.08 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3944F
Deuteranopia (green-blind)
#A59758
Tritanopia (blue-blind)
#A49189
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9b9955; /* rgb */ color: rgb(155, 153, 85); /* oklch */ color: oklch(66.9% 0.090 107.1);
Tailwind
colors: {
custom: {
50: '#bab686',
500: '#9b9955',
950: '#000000',
},
}SCSS
$custom: #9b9955; $custom-light: #bab686; $custom-dark: #000000;
JSON
{
"hex": "#9b9955",
"rgb": {
"r": 155,
"g": 153,
"b": 85
},
"hsl": {
"h": 58.286,
"s": 29.167,
"l": 47.059
},
"oklch": {
"l": 0.66918,
"c": 0.09012,
"h": 107.1
},
"luminance": 0.30407
}Semantic roles & 50–950 ramp
primary
#9B9955
secondary
#9495B8
accent
#65C562
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12110B
muted
#81807C