#9B8A3B#9B8A3B
#9B8A3B is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.101 H 97.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8A3B |
|---|---|
| RGB | rgb(155, 138, 59) |
| HSL | hsl(49, 45%, 42%) |
| HSV | hsv(49, 62%, 61%) |
| CMYK | cmyk(0%, 11%, 61.9%, 39.2%) |
| CIE-LAB | lab(57.52, -3.55, 43.63) |
| CIE-LCH | lch(57.52, 43.78, 94.66°) |
| OKLab | oklab(63.26% -0.0127 0.1004) |
| OKLCH | oklch(63.26% 0.101 97.2) |
| XYZ | xyz(23.3964, 25.4624, 7.8192) |
| Luminance | 0.2546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.52
Diarrhea
#9F8303
ΔE00 5.90
Dark Mustard
#A88905
ΔE00 6.39
Dark Sand
#A88F59
ΔE00 6.46
Baby Poop
#937C00
ΔE00 6.63
Baby Poo
#AB9004
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8A3B #3B4C9B
analogous
#9B5A3B #9B8A3B #7C9B3B
triadic
#9B8A3B #3B9B8A #8A3B9B
tetradic
#9B8A3B #3B9B5A #3B4C9B #9B3B7C
square
#9B8A3B #3B9B5A #3B4C9B #9B3B7C
split-complementary
#9B8A3B #3B7C9B #5A3B9B
monochromatic
#423B19 #6F632A #9B8A3B #BEAC55 #CFC181
Accessibility & contrast
On white
3.45
#9B8A3B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#9B8A3B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8A3B
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8A3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8A3B | 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)
#978733
Deuteranopia (green-blind)
#9B8D3F
Tritanopia (blue-blind)
#A78079
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9b8a3b; /* rgb */ color: rgb(155, 138, 59); /* oklch */ color: oklch(63.3% 0.101 97.2);
Tailwind
colors: {
custom: {
50: '#bbab74',
500: '#9b8a3b',
950: '#000000',
},
}SCSS
$custom: #9b8a3b; $custom-light: #bbab74; $custom-dark: #000000;
JSON
{
"hex": "#9b8a3b",
"rgb": {
"r": 155,
"g": 138,
"b": 59
},
"hsl": {
"h": 49.375,
"s": 44.86,
"l": 41.961
},
"oklch": {
"l": 0.63263,
"c": 0.10121,
"h": 97.2
},
"luminance": 0.25461
}Semantic roles & 50–950 ramp
primary
#9B8A3B
secondary
#7984B9
accent
#6AD553
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B