#9C8526#9C8526
#9C8526 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.113 H 94.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8526 |
|---|---|
| RGB | rgb(156, 133, 38) |
| HSL | hsl(48, 61%, 38%) |
| HSV | hsv(48, 76%, 61%) |
| CMYK | cmyk(0%, 14.7%, 75.6%, 38.8%) |
| CIE-LAB | lab(56.07, -1.59, 51.33) |
| CIE-LCH | lch(56.07, 51.35, 91.77°) |
| OKLab | oklab(62.08% -0.0097 0.113) |
| OKLCH | oklch(62.08% 0.113 94.9) |
| XYZ | xyz(22.4489, 23.9842, 5.2803) |
| Luminance | 0.2398 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.79
Baby Poop
#937C00
ΔE00 3.90
Dark Mustard
#A88905
ΔE00 4.00
Yellowish Brown
#9B7A01
ΔE00 4.81
Yellowy Brown
#AE8B0C
ΔE00 5.09
Puke Brown
#947706
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8526 #263D9C
analogous
#9C4A26 #9C8526 #789C26
triadic
#9C8526 #269C85 #85269C
tetradic
#9C8526 #269C4A #263D9C #9C2678
square
#9C8526 #269C4A #263D9C #9C2678
split-complementary
#9C8526 #26789C #4A269C
monochromatic
#3A310E #6B5B1A #9C8526 #CDAF32 #D9C263
Accessibility & contrast
On white
3.62
#9C8526 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#9C8526 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8526
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8526 | 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)
#938216
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#A97A72
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9c8526; /* rgb */ color: rgb(156, 133, 38); /* oklch */ color: oklch(62.1% 0.113 94.9);
Tailwind
colors: {
custom: {
50: '#bda867',
500: '#9c8526',
950: '#000000',
},
}SCSS
$custom: #9c8526; $custom-light: #bda867; $custom-dark: #000000;
JSON
{
"hex": "#9c8526",
"rgb": {
"r": 156,
"g": 133,
"b": 38
},
"hsl": {
"h": 48.305,
"s": 60.825,
"l": 38.039
},
"oklch": {
"l": 0.62082,
"c": 0.11346,
"h": 94.9
},
"luminance": 0.23983
}Semantic roles & 50–950 ramp
primary
#9C8526
secondary
#5F72BF
accent
#63E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A