#9C8223#9C8223
#9C8223 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.113 H 92.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8223 |
|---|---|
| RGB | rgb(156, 130, 35) |
| HSL | hsl(47, 63%, 37%) |
| HSV | hsv(47, 78%, 61%) |
| CMYK | cmyk(0%, 16.7%, 77.6%, 38.8%) |
| CIE-LAB | lab(55.23, -0.05, 51.67) |
| CIE-LCH | lch(55.23, 51.67, 90.06°) |
| OKLab | oklab(61.41% -0.0057 0.1132) |
| OKLCH | oklch(61.41% 0.113 92.9) |
| XYZ | xyz(21.9975, 23.1558, 4.9007) |
| Luminance | 0.2316 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.48
Baby Poop
#937C00
ΔE00 3.36
Yellowish Brown
#9B7A01
ΔE00 3.61
Dark Mustard
#A88905
ΔE00 4.10
Puke Brown
#947706
ΔE00 4.19
Hazel
#8E7618
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8223 #233D9C
analogous
#9C4523 #9C8223 #7A9C23
triadic
#9C8223 #239C82 #82239C
tetradic
#9C8223 #239C45 #233D9C #9C237A
square
#9C8223 #239C45 #233D9C #9C237A
split-complementary
#9C8223 #237A9C #45239C
monochromatic
#382F0D #6A5818 #9C8223 #CEAC2E #DBC05E
Accessibility & contrast
On white
3.73
#9C8223 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#9C8223 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8223
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8223 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8223 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#A97770
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9c8223; /* rgb */ color: rgb(156, 130, 35); /* oklch */ color: oklch(61.4% 0.113 92.9);
Tailwind
colors: {
custom: {
50: '#bda566',
500: '#9c8223',
950: '#000000',
},
}SCSS
$custom: #9c8223; $custom-light: #bda566; $custom-dark: #000000;
JSON
{
"hex": "#9c8223",
"rgb": {
"r": 156,
"g": 130,
"b": 35
},
"hsl": {
"h": 47.107,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.61413,
"c": 0.11329,
"h": 92.9
},
"luminance": 0.23155
}Semantic roles & 50–950 ramp
primary
#9C8223
secondary
#5B71C0
accent
#65E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A