#9C9C2A#9C9C2A
#9C9C2A is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.2% C 0.131 H 109.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9C9C2A |
|---|---|
| RGB | rgb(156, 156, 42) |
| HSL | hsl(60, 58%, 39%) |
| HSV | hsv(60, 73%, 61%) |
| CMYK | cmyk(0%, 0%, 73.1%, 38.8%) |
| CIE-LAB | lab(62.52, -13.79, 56.01) |
| CIE-LCH | lch(62.52, 57.68, 103.84°) |
| OKLab | oklab(67.22% -0.0437 0.1237) |
| OKLCH | oklch(67.22% 0.131 109.5) |
| XYZ | xyz(26.0176, 31.0128, 6.8056) |
| Luminance | 0.3101 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.96
Vomit
#A2A415
ΔE00 3.23
Baby Poop Green
#8F9805
ΔE00 3.32
Puke
#A5A502
ΔE00 4.12
Baby Shit Green
#889717
ΔE00 4.56
Pea Soup Green
#94A617
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C9C2A #2A2A9C
analogous
#9C632A #9C9C2A #639C2A
triadic
#9C9C2A #2A9C9C #9C2A9C
tetradic
#9C9C2A #2A9C63 #2A2A9C #9C2A63
square
#9C9C2A #2A9C63 #2A2A9C #9C2A63
split-complementary
#9C9C2A #2A639C #632A9C
monochromatic
#3C3C10 #6C6C1D #9C9C2A #CACA39 #D7D76A
Accessibility & contrast
On white
2.92
#9C9C2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#9C9C2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C9C2A
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C9C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C9C2A | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99514
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#A79286
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9c9c2a; /* rgb */ color: rgb(156, 156, 42); /* oklch */ color: oklch(67.2% 0.131 109.5);
Tailwind
colors: {
custom: {
50: '#bdb96c',
500: '#9c9c2a',
950: '#000000',
},
}SCSS
$custom: #9c9c2a; $custom-light: #bdb96c; $custom-dark: #000000;
JSON
{
"hex": "#9c9c2a",
"rgb": {
"r": 156,
"g": 156,
"b": 42
},
"hsl": {
"h": 60,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.67215,
"c": 0.13123,
"h": 109.5
},
"luminance": 0.31012
}Semantic roles & 50–950 ramp
primary
#9C9C2A
secondary
#6565BD
accent
#47E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A