#9B8939#9B8939
#9B8939 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.0% C 0.102 H 96.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8939 |
|---|---|
| RGB | rgb(155, 137, 57) |
| HSL | hsl(49, 46%, 42%) |
| HSV | hsv(49, 63%, 61%) |
| CMYK | cmyk(0%, 11.6%, 63.2%, 39.2%) |
| CIE-LAB | lab(57.23, -3.15, 44.26) |
| CIE-LCH | lch(57.23, 44.37, 94.07°) |
| OKLab | oklab(63.02% -0.0118 0.1015) |
| OKLCH | oklch(63.02% 0.102 96.6) |
| XYZ | xyz(23.2027, 25.1564, 7.5036) |
| Luminance | 0.2515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.87
Diarrhea
#9F8303
ΔE00 5.51
Dark Mustard
#A88905
ΔE00 6.09
Baby Poop
#937C00
ΔE00 6.22
Dark Sand
#A88F59
ΔE00 6.55
Baby Shit Brown
#AD900D
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8939 #394B9B
analogous
#9B5839 #9B8939 #7C9B39
triadic
#9B8939 #399B89 #89399B
tetradic
#9B8939 #399B58 #394B9B #9B397C
square
#9B8939 #399B58 #394B9B #9B397C
split-complementary
#9B8939 #397C9B #58399B
monochromatic
#423A18 #6E6129 #9B8939 #BFAB52 #D0C17F
Accessibility & contrast
On white
3.48
#9B8939 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#9B8939 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8939
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8939 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8939 | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968630
Deuteranopia (green-blind)
#9B8C3D
Tritanopia (blue-blind)
#A77F78
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9b8939; /* rgb */ color: rgb(155, 137, 57); /* oklch */ color: oklch(63.0% 0.102 96.6);
Tailwind
colors: {
custom: {
50: '#bbab73',
500: '#9b8939',
950: '#000000',
},
}SCSS
$custom: #9b8939; $custom-light: #bbab73; $custom-dark: #000000;
JSON
{
"hex": "#9b8939",
"rgb": {
"r": 155,
"g": 137,
"b": 57
},
"hsl": {
"h": 48.98,
"s": 46.226,
"l": 41.569
},
"oklch": {
"l": 0.63023,
"c": 0.10214,
"h": 96.6
},
"luminance": 0.25155
}Semantic roles & 50–950 ramp
primary
#9B8939
secondary
#7783B9
accent
#6AD652
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B