#9C992A#9C992A
#9C992A is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.5% C 0.128 H 107.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9C992A |
|---|---|
| RGB | rgb(156, 153, 42) |
| HSL | hsl(58, 58%, 39%) |
| HSV | hsv(58, 73%, 61%) |
| CMYK | cmyk(0%, 1.9%, 73.1%, 38.8%) |
| CIE-LAB | lab(61.67, -12.22, 55.19) |
| CIE-LCH | lch(61.67, 56.53, 102.48°) |
| OKLab | oklab(66.54% -0.0393 0.122) |
| OKLCH | oklch(66.54% 0.128 107.9) |
| XYZ | xyz(25.5204, 30.0184, 6.6399) |
| Luminance | 0.3002 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.34
Baby Poop Green
#8F9805
ΔE00 3.68
Vomit
#A2A415
ΔE00 4.08
Puke
#A5A502
ΔE00 4.81
Baby Shit Green
#889717
ΔE00 4.95
Pea Soup Green
#94A617
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C992A #2A2D9C
analogous
#9C602A #9C992A #669C2A
triadic
#9C992A #2A9C99 #992A9C
tetradic
#9C992A #2A9C60 #2A2D9C #9C2A66
square
#9C992A #2A9C60 #2A2D9C #9C2A66
split-complementary
#9C992A #2A669C #602A9C
monochromatic
#3C3A10 #6C6A1D #9C992A #CAC639 #D7D46A
Accessibility & contrast
On white
3.00
#9C992A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.00
#9C992A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C992A
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C992A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C992A | 1.00 | 3.00 | 7.00 | 7.00 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69315
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#A78F83
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9c992a; /* rgb */ color: rgb(156, 153, 42); /* oklch */ color: oklch(66.5% 0.128 107.9);
Tailwind
colors: {
custom: {
50: '#bdb66c',
500: '#9c992a',
950: '#000000',
},
}SCSS
$custom: #9c992a; $custom-light: #bdb66c; $custom-dark: #000000;
JSON
{
"hex": "#9c992a",
"rgb": {
"r": 156,
"g": 153,
"b": 42
},
"hsl": {
"h": 58.421,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.66537,
"c": 0.12819,
"h": 107.9
},
"luminance": 0.30018
}Semantic roles & 50–950 ramp
primary
#9C992A
secondary
#6567BD
accent
#4BE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A