#9C8530#9C8530
#9C8530 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.107 H 93.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8530 |
|---|---|
| RGB | rgb(156, 133, 48) |
| HSL | hsl(47, 53%, 40%) |
| HSV | hsv(47, 69%, 61%) |
| CMYK | cmyk(0%, 14.7%, 69.2%, 38.8%) |
| CIE-LAB | lab(56.15, -1.06, 47.25) |
| CIE-LCH | lch(56.15, 47.26, 91.29°) |
| OKLab | oklab(62.16% -0.007 0.1063) |
| OKLCH | oklch(62.16% 0.107 93.8) |
| XYZ | xyz(22.6325, 24.0576, 6.2472) |
| Luminance | 0.2406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.90
Baby Poop
#937C00
ΔE00 4.71
Dark Mustard
#A88905
ΔE00 4.90
Yellowish Brown
#9B7A01
ΔE00 5.31
Puke Brown
#947706
ΔE00 5.67
Hazel
#8E7618
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8530 #30479C
analogous
#9C4F30 #9C8530 #7D9C30
triadic
#9C8530 #309C85 #85309C
tetradic
#9C8530 #309C4F #30479C #9C307D
square
#9C8530 #309C4F #30479C #9C307D
split-complementary
#9C8530 #307D9C #4F309C
monochromatic
#3E3513 #6D5D22 #9C8530 #C5AA44 #D4BF73
Accessibility & contrast
On white
3.61
#9C8530 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#9C8530 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8530
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8530 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8530 | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#A87B73
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9c8530; /* rgb */ color: rgb(156, 133, 48); /* oklch */ color: oklch(62.2% 0.107 93.8);
Tailwind
colors: {
custom: {
50: '#bca86d',
500: '#9c8530',
950: '#000000',
},
}SCSS
$custom: #9c8530; $custom-light: #bca86d; $custom-dark: #000000;
JSON
{
"hex": "#9c8530",
"rgb": {
"r": 156,
"g": 133,
"b": 48
},
"hsl": {
"h": 47.222,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.62164,
"c": 0.10655,
"h": 93.8
},
"luminance": 0.24056
}Semantic roles & 50–950 ramp
primary
#9C8530
secondary
#6C7DBC
accent
#6ADC4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A