#9C9221#9C9221
#9C9221 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.9% C 0.127 H 104.1°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9C9221 |
|---|---|
| RGB | rgb(156, 146, 33) |
| HSL | hsl(55, 65%, 37%) |
| HSV | hsv(55, 79%, 61%) |
| CMYK | cmyk(0%, 6.4%, 78.8%, 38.8%) |
| CIE-LAB | lab(59.65, -8.89, 56.44) |
| CIE-LCH | lch(59.65, 57.13, 98.95°) |
| OKLab | oklab(64.91% -0.0308 0.1229) |
| OKLCH | oklch(64.91% 0.127 104.1) |
| XYZ | xyz(24.2648, 27.7365, 5.5141) |
| Luminance | 0.2773 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.95
Baby Poop Green
#8F9805
ΔE00 5.27
Baby Poo
#AB9004
ΔE00 5.32
Baby Shit Brown
#AD900D
ΔE00 5.81
Brown Yellow
#B29705
ΔE00 5.99
Vomit
#A2A415
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C9221 #212B9C
analogous
#9C5521 #9C9221 #699C21
triadic
#9C9221 #219C92 #92219C
tetradic
#9C9221 #219C55 #212B9C #9C2169
square
#9C9221 #219C55 #212B9C #9C2169
split-complementary
#9C9221 #21699C #55219C
monochromatic
#37330C #696316 #9C9221 #CFC12C #DCD25B
Accessibility & contrast
On white
3.21
#9C9221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#9C9221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C9221
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C9221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C9221 | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A08D03
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#A8877D
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9c9221; /* rgb */ color: rgb(156, 146, 33); /* oklch */ color: oklch(64.9% 0.127 104.1);
Tailwind
colors: {
custom: {
50: '#bdb167',
500: '#9c9221',
950: '#000000',
},
}SCSS
$custom: #9c9221; $custom-light: #bdb167; $custom-dark: #000000;
JSON
{
"hex": "#9c9221",
"rgb": {
"r": 156,
"g": 146,
"b": 33
},
"hsl": {
"h": 55.122,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.64912,
"c": 0.12673,
"h": 104.1
},
"luminance": 0.27735
}Semantic roles & 50–950 ramp
primary
#9C9221
secondary
#5861C1
accent
#4DE840
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A