#9C8528#9C8528
#9C8528 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.112 H 94.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8528 |
|---|---|
| RGB | rgb(156, 133, 40) |
| HSL | hsl(48, 59%, 38%) |
| HSV | hsv(48, 74%, 61%) |
| CMYK | cmyk(0%, 14.7%, 74.4%, 38.8%) |
| CIE-LAB | lab(56.09, -1.49, 50.56) |
| CIE-LCH | lch(56.09, 50.58, 91.69°) |
| OKLab | oklab(62.1% -0.0092 0.1118) |
| OKLCH | oklch(62.1% 0.112 94.7) |
| XYZ | xyz(22.4820, 23.9974, 5.4549) |
| Luminance | 0.2400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.98
Baby Poop
#937C00
ΔE00 4.03
Dark Mustard
#A88905
ΔE00 4.15
Yellowish Brown
#9B7A01
ΔE00 4.88
Yellowy Brown
#AE8B0C
ΔE00 5.20
Puke Brown
#947706
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8528 #283F9C
analogous
#9C4B28 #9C8528 #799C28
triadic
#9C8528 #289C85 #85289C
tetradic
#9C8528 #289C4B #283F9C #9C2879
square
#9C8528 #289C4B #283F9C #9C2879
split-complementary
#9C8528 #28799C #4B289C
monochromatic
#3B320F #6B5B1C #9C8528 #CBAE36 #D8C167
Accessibility & contrast
On white
3.62
#9C8528 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#9C8528 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8528
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8528 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8528 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938219
Deuteranopia (green-blind)
#99892D
Tritanopia (blue-blind)
#A97A73
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9c8528; /* rgb */ color: rgb(156, 133, 40); /* oklch */ color: oklch(62.1% 0.112 94.7);
Tailwind
colors: {
custom: {
50: '#bda869',
500: '#9c8528',
950: '#000000',
},
}SCSS
$custom: #9c8528; $custom-light: #bda869; $custom-dark: #000000;
JSON
{
"hex": "#9c8528",
"rgb": {
"r": 156,
"g": 133,
"b": 40
},
"hsl": {
"h": 48.103,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.62097,
"c": 0.11219,
"h": 94.7
},
"luminance": 0.23996
}Semantic roles & 50–950 ramp
primary
#9C8528
secondary
#6274BE
accent
#65E245
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A