#9B8737#9B8737
#9B8737 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.6% C 0.102 H 95.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8737 |
|---|---|
| RGB | rgb(155, 135, 55) |
| HSL | hsl(48, 48%, 41%) |
| HSV | hsv(48, 65%, 61%) |
| CMYK | cmyk(0%, 12.9%, 64.5%, 39.2%) |
| CIE-LAB | lab(56.66, -2.18, 44.58) |
| CIE-LCH | lch(56.66, 44.63, 92.80°) |
| OKLab | oklab(62.57% -0.0093 0.1018) |
| OKLCH | oklch(62.57% 0.102 95.2) |
| XYZ | xyz(22.8722, 24.5735, 7.1521) |
| Luminance | 0.2457 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.02
Dark Khaki
#9B8F55
ΔE00 5.36
Baby Poop
#937C00
ΔE00 5.67
Dark Mustard
#A88905
ΔE00 5.79
Hazel
#8E7618
ΔE00 6.49
Dark Sand
#A88F59
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8737 #374B9B
analogous
#9B5537 #9B8737 #7D9B37
triadic
#9B8737 #379B87 #87379B
tetradic
#9B8737 #379B55 #374B9B #9B377D
square
#9B8737 #379B55 #374B9B #9B377D
split-complementary
#9B8737 #377D9B #55379B
monochromatic
#413817 #6E6027 #9B8737 #C0AA4F #D0C07C
Accessibility & contrast
On white
3.55
#9B8737 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#9B8737 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8737
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8737 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8737 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94842E
Deuteranopia (green-blind)
#998B3B
Tritanopia (blue-blind)
#A77D76
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9b8737; /* rgb */ color: rgb(155, 135, 55); /* oklch */ color: oklch(62.6% 0.102 95.2);
Tailwind
colors: {
custom: {
50: '#bba971',
500: '#9b8737',
950: '#000000',
},
}SCSS
$custom: #9b8737; $custom-light: #bba971; $custom-dark: #000000;
JSON
{
"hex": "#9b8737",
"rgb": {
"r": 155,
"g": 135,
"b": 55
},
"hsl": {
"h": 48,
"s": 47.619,
"l": 41.176
},
"oklch": {
"l": 0.62565,
"c": 0.10225,
"h": 95.2
},
"luminance": 0.24572
}Semantic roles & 50–950 ramp
primary
#9B8737
secondary
#7482BA
accent
#6CD751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B