#9C8A22#9C8A22
#9C8A22 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.119 H 98.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A22 |
|---|---|
| RGB | rgb(156, 138, 34) |
| HSL | hsl(51, 64%, 37%) |
| HSV | hsv(51, 78%, 61%) |
| CMYK | cmyk(0%, 11.5%, 78.2%, 38.8%) |
| CIE-LAB | lab(57.43, -4.51, 54.07) |
| CIE-LCH | lch(57.43, 54.26, 94.77°) |
| OKLab | oklab(63.15% -0.0184 0.1181) |
| OKLCH | oklch(63.15% 0.12 98.9) |
| XYZ | xyz(23.0887, 25.3615, 5.1922) |
| Luminance | 0.2536 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.83
Dark Mustard
#A88905
ΔE00 4.29
Baby Poo
#AB9004
ΔE00 4.37
Baby Shit Brown
#AD900D
ΔE00 4.65
Baby Poop
#937C00
ΔE00 5.12
Yellowy Brown
#AE8B0C
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A22 #22349C
analogous
#9C4D22 #9C8A22 #719C22
triadic
#9C8A22 #229C8A #8A229C
tetradic
#9C8A22 #229C4D #22349C #9C2271
square
#9C8A22 #229C4D #22349C #9C2271
split-complementary
#9C8A22 #22719C #4D229C
monochromatic
#38310C #6A5E17 #9C8A22 #CEB62D #DCC95D
Accessibility & contrast
On white
3.46
#9C8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#9C8A22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A22
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A22 | 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)
#98860B
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#A97F76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9c8a22; /* rgb */ color: rgb(156, 138, 34); /* oklch */ color: oklch(63.1% 0.119 98.9);
Tailwind
colors: {
custom: {
50: '#bdab66',
500: '#9c8a22',
950: '#000000',
},
}SCSS
$custom: #9c8a22; $custom-light: #bdab66; $custom-dark: #000000;
JSON
{
"hex": "#9c8a22",
"rgb": {
"r": 156,
"g": 138,
"b": 34
},
"hsl": {
"h": 51.148,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.63147,
"c": 0.1195,
"h": 98.9
},
"luminance": 0.2536
}Semantic roles & 50–950 ramp
primary
#9C8A22
secondary
#5A69C0
accent
#59E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A