#9C8A24#9C8A24
#9C8A24 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.118 H 98.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A24 |
|---|---|
| RGB | rgb(156, 138, 36) |
| HSL | hsl(51, 63%, 38%) |
| HSV | hsv(51, 77%, 61%) |
| CMYK | cmyk(0%, 11.5%, 76.9%, 38.8%) |
| CIE-LAB | lab(57.44, -4.43, 53.37) |
| CIE-LCH | lch(57.44, 53.55, 94.74°) |
| OKLab | oklab(63.16% -0.018 0.117) |
| OKLCH | oklch(63.16% 0.118 98.7) |
| XYZ | xyz(23.1184, 25.3734, 5.3486) |
| Luminance | 0.2537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.91
Dark Mustard
#A88905
ΔE00 4.37
Baby Poo
#AB9004
ΔE00 4.48
Baby Shit Brown
#AD900D
ΔE00 4.74
Baby Poop
#937C00
ΔE00 5.17
Yellowy Brown
#AE8B0C
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A24 #24369C
analogous
#9C4E24 #9C8A24 #729C24
triadic
#9C8A24 #249C8A #8A249C
tetradic
#9C8A24 #249C4E #24369C #9C2472
square
#9C8A24 #249C4E #24369C #9C2472
split-complementary
#9C8A24 #24729C #4E249C
monochromatic
#39320D #6A5E19 #9C8A24 #CEB62F #DAC860
Accessibility & contrast
On white
3.46
#9C8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#9C8A24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A24
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A24 | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988610
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#A97F76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9c8a24; /* rgb */ color: rgb(156, 138, 36); /* oklch */ color: oklch(63.2% 0.118 98.7);
Tailwind
colors: {
custom: {
50: '#bdab67',
500: '#9c8a24',
950: '#000000',
},
}SCSS
$custom: #9c8a24; $custom-light: #bdab67; $custom-dark: #000000;
JSON
{
"hex": "#9c8a24",
"rgb": {
"r": 156,
"g": 138,
"b": 36
},
"hsl": {
"h": 51,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.6316,
"c": 0.11835,
"h": 98.7
},
"luminance": 0.25372
}Semantic roles & 50–950 ramp
primary
#9C8A24
secondary
#5C6BBF
accent
#5BE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A