#9C8322#9C8322
#9C8322 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.115 H 93.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8322 |
|---|---|
| RGB | rgb(156, 131, 34) |
| HSL | hsl(48, 64%, 37%) |
| HSV | hsv(48, 78%, 61%) |
| CMYK | cmyk(0%, 16%, 78.2%, 38.8%) |
| CIE-LAB | lab(55.50, -0.65, 52.29) |
| CIE-LCH | lch(55.50, 52.29, 90.71°) |
| OKLab | oklab(61.62% -0.0075 0.1143) |
| OKLCH | oklch(61.62% 0.115 93.7) |
| XYZ | xyz(22.1166, 23.4173, 4.8681) |
| Luminance | 0.2342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.30
Baby Poop
#937C00
ΔE00 3.36
Dark Mustard
#A88905
ΔE00 3.87
Yellowish Brown
#9B7A01
ΔE00 3.93
Puke Brown
#947706
ΔE00 4.49
Yellowy Brown
#AE8B0C
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8322 #223B9C
analogous
#9C4622 #9C8322 #789C22
triadic
#9C8322 #229C83 #83229C
tetradic
#9C8322 #229C46 #223B9C #9C2278
square
#9C8322 #229C46 #223B9C #9C2278
split-complementary
#9C8322 #22789C #46229C
monochromatic
#382F0C #6A5917 #9C8322 #CEAD2D #DCC25D
Accessibility & contrast
On white
3.70
#9C8322 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#9C8322 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8322
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8322 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8322 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 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)
#92810F
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#A97870
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9c8322; /* rgb */ color: rgb(156, 131, 34); /* oklch */ color: oklch(61.6% 0.115 93.7);
Tailwind
colors: {
custom: {
50: '#bda665',
500: '#9c8322',
950: '#000000',
},
}SCSS
$custom: #9c8322; $custom-light: #bda665; $custom-dark: #000000;
JSON
{
"hex": "#9c8322",
"rgb": {
"r": 156,
"g": 131,
"b": 34
},
"hsl": {
"h": 47.705,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.61622,
"c": 0.1145,
"h": 93.7
},
"luminance": 0.23416
}Semantic roles & 50–950 ramp
primary
#9C8322
secondary
#5A6FC0
accent
#63E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A