#9B9155#9B9155
#9B9155 is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.1% C 0.081 H 100.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9155 |
|---|---|
| RGB | rgb(155, 145, 85) |
| HSL | hsl(51, 29%, 47%) |
| HSV | hsv(51, 45%, 61%) |
| CMYK | cmyk(0%, 6.5%, 45.2%, 39.2%) |
| CIE-LAB | lab(59.78, -5.06, 33.08) |
| CIE-LCH | lch(59.78, 33.47, 98.69°) |
| OKLab | oklab(65.15% -0.0141 0.0799) |
| OKLCH | oklch(65.15% 0.081 100) |
| XYZ | xyz(25.2833, 27.8760, 12.6414) |
| Luminance | 0.2787 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 0.96
Dark Sand
#A88F59
ΔE00 5.59
Dark Beige
#AC9362
ΔE00 6.48
Khaki (survey)
#AAA662
ΔE00 6.62
Drab
#828344
ΔE00 6.87
Moss Green
#8A9A5B
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9155 #555F9B
analogous
#9B6E55 #9B9155 #829B55
triadic
#9B9155 #559B91 #91559B
tetradic
#9B9155 #559B6E #555F9B #9B5582
square
#9B9155 #559B6E #555F9B #9B5582
split-complementary
#9B9155 #55829B #6E559B
monochromatic
#4C472A #736C3F #9B9155 #B5AC78 #CBC5A0
Accessibility & contrast
On white
3.19
#9B9155 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#9B9155 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9155
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9155 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9155 | 1.00 | 3.19 | 6.57 | 6.57 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8E50
Deuteranopia (green-blind)
#9E9257
Tritanopia (blue-blind)
#A48982
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9b9155; /* rgb */ color: rgb(155, 145, 85); /* oklch */ color: oklch(65.1% 0.081 100.0);
Tailwind
colors: {
custom: {
50: '#bab186',
500: '#9b9155',
950: '#000000',
},
}SCSS
$custom: #9b9155; $custom-light: #bab186; $custom-dark: #000000;
JSON
{
"hex": "#9b9155",
"rgb": {
"r": 155,
"g": 145,
"b": 85
},
"hsl": {
"h": 51.429,
"s": 29.167,
"l": 47.059
},
"oklch": {
"l": 0.6515,
"c": 0.08117,
"h": 100
},
"luminance": 0.27875
}Semantic roles & 50–950 ramp
primary
#9B9155
secondary
#9499B8
accent
#71C562
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C