#9C9928#9C9928
#9C9928 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.5% C 0.129 H 107.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9C9928 |
|---|---|
| RGB | rgb(156, 153, 40) |
| HSL | hsl(58, 59%, 38%) |
| HSV | hsv(58, 74%, 61%) |
| CMYK | cmyk(0%, 1.9%, 74.4%, 38.8%) |
| CIE-LAB | lab(61.66, -12.31, 55.90) |
| CIE-LCH | lch(61.66, 57.24, 102.42°) |
| OKLab | oklab(66.52% -0.0398 0.1231) |
| OKLCH | oklch(66.52% 0.129 107.9) |
| XYZ | xyz(25.4855, 30.0044, 6.4560) |
| Luminance | 0.3000 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.21
Baby Poop Green
#8F9805
ΔE00 3.58
Vomit
#A2A415
ΔE00 3.97
Puke
#A5A502
ΔE00 4.68
Baby Shit Green
#889717
ΔE00 4.93
Pea Soup Green
#94A617
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C9928 #282B9C
analogous
#9C5F28 #9C9928 #659C28
triadic
#9C9928 #289C99 #99289C
tetradic
#9C9928 #289C5F #282B9C #9C2865
square
#9C9928 #289C5F #282B9C #9C2865
split-complementary
#9C9928 #28659C #5F289C
monochromatic
#3B390F #6B691C #9C9928 #CBC836 #D8D567
Accessibility & contrast
On white
3.00
#9C9928 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.00
#9C9928 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C9928
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C9928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C9928 | 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)
#A69311
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#A88F83
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9c9928; /* rgb */ color: rgb(156, 153, 40); /* oklch */ color: oklch(66.5% 0.129 107.9);
Tailwind
colors: {
custom: {
50: '#bdb66b',
500: '#9c9928',
950: '#000000',
},
}SCSS
$custom: #9c9928; $custom-light: #bdb66b; $custom-dark: #000000;
JSON
{
"hex": "#9c9928",
"rgb": {
"r": 156,
"g": 153,
"b": 40
},
"hsl": {
"h": 58.448,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.66524,
"c": 0.12941,
"h": 107.9
},
"luminance": 0.30004
}Semantic roles & 50–950 ramp
primary
#9C9928
secondary
#6264BE
accent
#49E245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A