#9C8523#9C8523
#9C8523 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.115 H 95.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8523 |
|---|---|
| RGB | rgb(156, 133, 35) |
| HSL | hsl(49, 63%, 37%) |
| HSV | hsv(49, 78%, 61%) |
| CMYK | cmyk(0%, 14.7%, 77.6%, 38.8%) |
| CIE-LAB | lab(56.05, -1.72, 52.44) |
| CIE-LCH | lch(56.05, 52.47, 91.88°) |
| OKLab | oklab(62.06% -0.0104 0.1148) |
| OKLCH | oklch(62.06% 0.115 95.2) |
| XYZ | xyz(22.4024, 23.9656, 5.0356) |
| Luminance | 0.2396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.52
Baby Poop
#937C00
ΔE00 3.73
Dark Mustard
#A88905
ΔE00 3.79
Yellowish Brown
#9B7A01
ΔE00 4.72
Yellowy Brown
#AE8B0C
ΔE00 4.96
Baby Poo
#AB9004
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8523 #233A9C
analogous
#9C4823 #9C8523 #779C23
triadic
#9C8523 #239C85 #85239C
tetradic
#9C8523 #239C48 #233A9C #9C2377
square
#9C8523 #239C48 #233A9C #9C2377
split-complementary
#9C8523 #23779C #48239C
monochromatic
#38300D #6A5A18 #9C8523 #CEB02E #DBC35E
Accessibility & contrast
On white
3.63
#9C8523 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#9C8523 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8523
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8523 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8523 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948210
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#A97A72
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9c8523; /* rgb */ color: rgb(156, 133, 35); /* oklch */ color: oklch(62.1% 0.115 95.2);
Tailwind
colors: {
custom: {
50: '#bda866',
500: '#9c8523',
950: '#000000',
},
}SCSS
$custom: #9c8523; $custom-light: #bda866; $custom-dark: #000000;
JSON
{
"hex": "#9c8523",
"rgb": {
"r": 156,
"g": 133,
"b": 35
},
"hsl": {
"h": 48.595,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.62062,
"c": 0.11526,
"h": 95.2
},
"luminance": 0.23964
}Semantic roles & 50–950 ramp
primary
#9C8523
secondary
#5B6EC0
accent
#61E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A