#9B8A3A#9B8A3A
#9B8A3A is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.102 H 97.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8A3A |
|---|---|
| RGB | rgb(155, 138, 58) |
| HSL | hsl(49, 46%, 42%) |
| HSV | hsv(49, 63%, 61%) |
| CMYK | cmyk(0%, 11%, 62.6%, 39.2%) |
| CIE-LAB | lab(57.51, -3.62, 44.10) |
| CIE-LCH | lch(57.51, 44.25, 94.70°) |
| OKLab | oklab(63.25% -0.0131 0.1013) |
| OKLCH | oklch(63.25% 0.102 97.3) |
| XYZ | xyz(23.3707, 25.4521, 7.6839) |
| Luminance | 0.2545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.66
Diarrhea
#9F8303
ΔE00 5.79
Dark Mustard
#A88905
ΔE00 6.28
Baby Poop
#937C00
ΔE00 6.53
Dark Sand
#A88F59
ΔE00 6.59
Baby Poo
#AB9004
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8A3A #3A4B9B
analogous
#9B5A3A #9B8A3A #7C9B3A
triadic
#9B8A3A #3A9B8A #8A3A9B
tetradic
#9B8A3A #3A9B5A #3A4B9B #9B3A7C
square
#9B8A3A #3A9B5A #3A4B9B #9B3A7C
split-complementary
#9B8A3A #3A7C9B #5A3A9B
monochromatic
#423B19 #6E6229 #9B8A3A #BFAC53 #CFC280
Accessibility & contrast
On white
3.45
#9B8A3A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#9B8A3A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8A3A
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8A3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8A3A | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978731
Deuteranopia (green-blind)
#9B8D3E
Tritanopia (blue-blind)
#A78079
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9b8a3a; /* rgb */ color: rgb(155, 138, 58); /* oklch */ color: oklch(63.3% 0.102 97.3);
Tailwind
colors: {
custom: {
50: '#bbab73',
500: '#9b8a3a',
950: '#000000',
},
}SCSS
$custom: #9b8a3a; $custom-light: #bbab73; $custom-dark: #000000;
JSON
{
"hex": "#9b8a3a",
"rgb": {
"r": 155,
"g": 138,
"b": 58
},
"hsl": {
"h": 49.485,
"s": 45.54,
"l": 41.765
},
"oklch": {
"l": 0.63252,
"c": 0.1021,
"h": 97.3
},
"luminance": 0.25451
}Semantic roles & 50–950 ramp
primary
#9B8A3A
secondary
#7883B9
accent
#69D553
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B