#9C8323#9C8323
#9C8323 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.114 H 93.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8323 |
|---|---|
| RGB | rgb(156, 131, 35) |
| HSL | hsl(48, 63%, 37%) |
| HSV | hsv(48, 78%, 61%) |
| CMYK | cmyk(0%, 16%, 77.6%, 38.8%) |
| CIE-LAB | lab(55.51, -0.61, 51.93) |
| CIE-LCH | lch(55.51, 51.93, 90.67°) |
| OKLab | oklab(61.63% -0.0072 0.1137) |
| OKLCH | oklch(61.63% 0.114 93.6) |
| XYZ | xyz(22.1312, 23.4232, 4.9452) |
| Luminance | 0.2342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.40
Baby Poop
#937C00
ΔE00 3.42
Dark Mustard
#A88905
ΔE00 3.94
Yellowish Brown
#9B7A01
ΔE00 3.96
Puke Brown
#947706
ΔE00 4.51
Hazel
#8E7618
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8323 #233C9C
analogous
#9C4623 #9C8323 #799C23
triadic
#9C8323 #239C83 #83239C
tetradic
#9C8323 #239C46 #233C9C #9C2379
square
#9C8323 #239C46 #233C9C #9C2379
split-complementary
#9C8323 #23799C #46239C
monochromatic
#382F0D #6A5918 #9C8323 #CEAD2E #DBC15E
Accessibility & contrast
On white
3.69
#9C8323 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#9C8323 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8323
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8323 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8323 | 1.00 | 3.69 | 5.68 | 5.68 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928111
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#A97871
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9c8323; /* rgb */ color: rgb(156, 131, 35); /* oklch */ color: oklch(61.6% 0.114 93.6);
Tailwind
colors: {
custom: {
50: '#bda666',
500: '#9c8323',
950: '#000000',
},
}SCSS
$custom: #9c8323; $custom-light: #bda666; $custom-dark: #000000;
JSON
{
"hex": "#9c8323",
"rgb": {
"r": 156,
"g": 131,
"b": 35
},
"hsl": {
"h": 47.603,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.61629,
"c": 0.11393,
"h": 93.6
},
"luminance": 0.23422
}Semantic roles & 50–950 ramp
primary
#9C8323
secondary
#5B70C0
accent
#64E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A