#9B8320#9B8320
#9B8320 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.115 H 94.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8320 |
|---|---|
| RGB | rgb(155, 131, 32) |
| HSL | hsl(48, 66%, 37%) |
| HSV | hsv(48, 79%, 61%) |
| CMYK | cmyk(0%, 15.5%, 79.4%, 39.2%) |
| CIE-LAB | lab(55.39, -1.19, 52.87) |
| CIE-LCH | lch(55.39, 52.88, 91.29°) |
| OKLab | oklab(61.51% -0.0092 0.1151) |
| OKLCH | oklch(61.51% 0.115 94.5) |
| XYZ | xyz(21.8958, 23.3067, 4.7116) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.25
Baby Poop
#937C00
ΔE00 3.13
Dark Mustard
#A88905
ΔE00 3.94
Yellowish Brown
#9B7A01
ΔE00 4.04
Puke Brown
#947706
ΔE00 4.49
Hazel
#8E7618
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8320 #20389B
analogous
#9B4620 #9B8320 #769B20
triadic
#9B8320 #209B83 #83209B
tetradic
#9B8320 #209B46 #20389B #9B2076
square
#9B8320 #209B46 #20389B #9B2076
split-complementary
#9B8320 #20769B #46209B
monochromatic
#362D0B #685816 #9B8320 #CEAE2A #DDC359
Accessibility & contrast
On white
3.71
#9B8320 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#9B8320 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8320
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8320 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8320 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92800A
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#A87870
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9b8320; /* rgb */ color: rgb(155, 131, 32); /* oklch */ color: oklch(61.5% 0.115 94.5);
Tailwind
colors: {
custom: {
50: '#bca664',
500: '#9b8320',
950: '#000000',
},
}SCSS
$custom: #9b8320; $custom-light: #bca664; $custom-dark: #000000;
JSON
{
"hex": "#9b8320",
"rgb": {
"r": 155,
"g": 131,
"b": 32
},
"hsl": {
"h": 48.293,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.61506,
"c": 0.11548,
"h": 94.5
},
"luminance": 0.23305
}Semantic roles & 50–950 ramp
primary
#9B8320
secondary
#566BC1
accent
#60E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A