#9B8A4E#9B8A4E
#9B8A4E is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.082 H 94.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8A4E |
|---|---|
| RGB | rgb(155, 138, 78) |
| HSL | hsl(47, 33%, 46%) |
| HSV | hsv(47, 50%, 61%) |
| CMYK | cmyk(0%, 11%, 49.7%, 39.2%) |
| CIE-LAB | lab(57.75, -1.93, 34.28) |
| CIE-LCH | lch(57.75, 34.33, 93.22°) |
| OKLab | oklab(63.51% -0.0058 0.0821) |
| OKLCH | oklch(63.51% 0.082 94) |
| XYZ | xyz(23.9820, 25.6966, 10.9029) |
| Luminance | 0.2570 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.26
Dark Sand
#A88F59
ΔE00 4.06
Dark Beige
#AC9362
ΔE00 5.61
Drab
#828344
ΔE00 7.25
Dark Tan
#AF884A
ΔE00 7.35
Coffee
#A6814C
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8A4E #4E5F9B
analogous
#9B634E #9B8A4E #859B4E
triadic
#9B8A4E #4E9B8A #8A4E9B
tetradic
#9B8A4E #4E9B63 #4E5F9B #9B4E85
square
#9B8A4E #4E9B63 #4E5F9B #9B4E85
split-complementary
#9B8A4E #4E859B #634E9B
monochromatic
#4A4225 #72663A #9B8A4E #B7A76F #CBC098
Accessibility & contrast
On white
3.42
#9B8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#9B8A4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8A4E
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8A4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8A4E | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958849
Deuteranopia (green-blind)
#9A8D50
Tritanopia (blue-blind)
#A5827C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9b8a4e; /* rgb */ color: rgb(155, 138, 78); /* oklch */ color: oklch(63.5% 0.082 94.0);
Tailwind
colors: {
custom: {
50: '#baac81',
500: '#9b8a4e',
950: '#000000',
},
}SCSS
$custom: #9b8a4e; $custom-light: #baac81; $custom-dark: #000000;
JSON
{
"hex": "#9b8a4e",
"rgb": {
"r": 155,
"g": 138,
"b": 78
},
"hsl": {
"h": 46.753,
"s": 33.047,
"l": 45.686
},
"oklch": {
"l": 0.63513,
"c": 0.08232,
"h": 94
},
"luminance": 0.25696
}Semantic roles & 50–950 ramp
primary
#9B8A4E
secondary
#8D96B8
accent
#76C95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C