#9B8323#9B8323
#9B8323 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.114 H 94.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8323 |
|---|---|
| RGB | rgb(155, 131, 35) |
| HSL | hsl(48, 63%, 37%) |
| HSV | hsv(48, 77%, 61%) |
| CMYK | cmyk(0%, 15.5%, 77.4%, 39.2%) |
| CIE-LAB | lab(55.40, -1.07, 51.80) |
| CIE-LCH | lch(55.40, 51.81, 91.18°) |
| OKLab | oklab(61.53% -0.0085 0.1135) |
| OKLCH | oklch(61.53% 0.114 94.3) |
| XYZ | xyz(21.9384, 23.3238, 4.9362) |
| Luminance | 0.2332 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.52
Baby Poop
#937C00
ΔE00 3.31
Dark Mustard
#A88905
ΔE00 4.12
Yellowish Brown
#9B7A01
ΔE00 4.12
Puke Brown
#947706
ΔE00 4.55
Hazel
#8E7618
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8323 #233B9B
analogous
#9B4723 #9B8323 #779B23
triadic
#9B8323 #239B83 #83239B
tetradic
#9B8323 #239B47 #233B9B #9B2377
square
#9B8323 #239B47 #233B9B #9B2377
split-complementary
#9B8323 #23779B #47239B
monochromatic
#372F0C #695918 #9B8323 #CDAD2E #DBC25E
Accessibility & contrast
On white
3.71
#9B8323 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#9B8323 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8323
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8323 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8323 | 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)
#928011
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#A87870
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9b8323; /* rgb */ color: rgb(155, 131, 35); /* oklch */ color: oklch(61.5% 0.114 94.3);
Tailwind
colors: {
custom: {
50: '#bca666',
500: '#9b8323',
950: '#000000',
},
}SCSS
$custom: #9b8323; $custom-light: #bca666; $custom-dark: #000000;
JSON
{
"hex": "#9b8323",
"rgb": {
"r": 155,
"g": 131,
"b": 35
},
"hsl": {
"h": 48,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.61525,
"c": 0.11379,
"h": 94.3
},
"luminance": 0.23323
}Semantic roles & 50–950 ramp
primary
#9B8323
secondary
#5A6FBF
accent
#63E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A