#9B8D2B#9B8D2B
#9B8D2B is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.116 H 101.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8D2B |
|---|---|
| RGB | rgb(155, 141, 43) |
| HSL | hsl(53, 57%, 39%) |
| HSV | hsv(53, 72%, 61%) |
| CMYK | cmyk(0%, 9%, 72.3%, 39.2%) |
| CIE-LAB | lab(58.22, -6.19, 51.42) |
| CIE-LCH | lch(58.22, 51.79, 96.86°) |
| OKLab | oklab(63.77% -0.0222 0.1143) |
| OKLCH | oklch(63.77% 0.116 101) |
| XYZ | xyz(23.4796, 26.1938, 6.1042) |
| Luminance | 0.2619 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.24
Diarrhea
#9F8303
ΔE00 5.45
Baby Shit Brown
#AD900D
ΔE00 5.54
Dark Mustard
#A88905
ΔE00 5.68
Baby Poop
#937C00
ΔE00 6.47
Brown Yellow
#B29705
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8D2B #2B399B
analogous
#9B552B #9B8D2B #719B2B
triadic
#9B8D2B #2B9B8D #8D2B9B
tetradic
#9B8D2B #2B9B55 #2B399B #9B2B71
square
#9B8D2B #2B9B55 #2B399B #9B2B71
split-complementary
#9B8D2B #2B719B #552B9B
monochromatic
#3B3610 #6B611E #9B8D2B #C9B73B #D6C86B
Accessibility & contrast
On white
3.37
#9B8D2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#9B8D2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8D2B
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8D2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8D2B | 1.00 | 3.37 | 6.24 | 6.24 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A891C
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#A7837A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9b8d2b; /* rgb */ color: rgb(155, 141, 43); /* oklch */ color: oklch(63.8% 0.116 101.0);
Tailwind
colors: {
custom: {
50: '#bcae6b',
500: '#9b8d2b',
950: '#000000',
},
}SCSS
$custom: #9b8d2b; $custom-light: #bcae6b; $custom-dark: #000000;
JSON
{
"hex": "#9b8d2b",
"rgb": {
"r": 155,
"g": 141,
"b": 43
},
"hsl": {
"h": 52.5,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.63773,
"c": 0.11639,
"h": 101
},
"luminance": 0.26193
}Semantic roles & 50–950 ramp
primary
#9B8D2B
secondary
#6570BC
accent
#5BE048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A