#9C8B29#9C8B29
#9C8B29 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.116 H 99.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8B29 |
|---|---|
| RGB | rgb(156, 139, 41) |
| HSL | hsl(51, 58%, 39%) |
| HSV | hsv(51, 74%, 61%) |
| CMYK | cmyk(0%, 10.9%, 73.7%, 38.8%) |
| CIE-LAB | lab(57.75, -4.75, 51.78) |
| CIE-LCH | lch(57.75, 51.99, 95.24°) |
| OKLab | oklab(63.41% -0.0184 0.1146) |
| OKLCH | oklch(63.41% 0.116 99.1) |
| XYZ | xyz(23.3443, 25.6944, 5.8273) |
| Luminance | 0.2569 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.47
Baby Poo
#AB9004
ΔE00 4.78
Dark Mustard
#A88905
ΔE00 4.82
Baby Shit Brown
#AD900D
ΔE00 5.01
Baby Poop
#937C00
ΔE00 5.65
Yellowy Brown
#AE8B0C
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8B29 #293A9C
analogous
#9C5129 #9C8B29 #739C29
triadic
#9C8B29 #299C8B #8B299C
tetradic
#9C8B29 #299C51 #293A9C #9C2973
square
#9C8B29 #299C51 #293A9C #9C2973
split-complementary
#9C8B29 #29739C #51299C
monochromatic
#3B3510 #6C601C #9C8B29 #CBB538 #D7C768
Accessibility & contrast
On white
3.42
#9C8B29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#9C8B29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8B29
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8B29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8B29 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998719
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#A88078
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8b29; /* rgb */ color: rgb(156, 139, 41); /* oklch */ color: oklch(63.4% 0.116 99.1);
Tailwind
colors: {
custom: {
50: '#bdac6a',
500: '#9c8b29',
950: '#000000',
},
}SCSS
$custom: #9c8b29; $custom-light: #bdac6a; $custom-dark: #000000;
JSON
{
"hex": "#9c8b29",
"rgb": {
"r": 156,
"g": 139,
"b": 41
},
"hsl": {
"h": 51.13,
"s": 58.376,
"l": 38.627
},
"oklch": {
"l": 0.63414,
"c": 0.11606,
"h": 99.1
},
"luminance": 0.25693
}Semantic roles & 50–950 ramp
primary
#9C8B29
secondary
#6371BE
accent
#5DE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A