#9C9923#9C9923
#9C9923 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.5% C 0.132 H 108.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9C9923 |
|---|---|
| RGB | rgb(156, 153, 35) |
| HSL | hsl(59, 63%, 37%) |
| HSV | hsv(59, 78%, 61%) |
| CMYK | cmyk(0%, 1.9%, 77.6%, 38.8%) |
| CIE-LAB | lab(61.63, -12.53, 57.58) |
| CIE-LCH | lch(61.63, 58.93, 102.28°) |
| OKLab | oklab(66.49% -0.0408 0.1258) |
| OKLCH | oklch(66.49% 0.132 108) |
| XYZ | xyz(25.4059, 29.9726, 6.0368) |
| Luminance | 0.2997 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.96
Baby Poop Green
#8F9805
ΔE00 3.40
Vomit
#A2A415
ΔE00 3.74
Puke
#A5A502
ΔE00 4.39
Baby Shit Green
#889717
ΔE00 4.94
Pea Soup Green
#94A617
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C9923 #23269C
analogous
#9C5C23 #9C9923 #639C23
triadic
#9C9923 #239C99 #99239C
tetradic
#9C9923 #239C5C #23269C #9C2363
square
#9C9923 #239C5C #23269C #9C2363
split-complementary
#9C9923 #23639C #5C239C
monochromatic
#38370D #6A6818 #9C9923 #CECA2E #DBD85E
Accessibility & contrast
On white
3.00
#9C9923 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#9C9923 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C9923
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C9923 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C9923 | 1.00 | 3.00 | 6.99 | 6.99 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69304
Deuteranopia (green-blind)
#A8972D
Tritanopia (blue-blind)
#A88F83
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9c9923; /* rgb */ color: rgb(156, 153, 35); /* oklch */ color: oklch(66.5% 0.132 108.0);
Tailwind
colors: {
custom: {
50: '#bdb668',
500: '#9c9923',
950: '#000000',
},
}SCSS
$custom: #9c9923; $custom-light: #bdb668; $custom-dark: #000000;
JSON
{
"hex": "#9c9923",
"rgb": {
"r": 156,
"g": 153,
"b": 35
},
"hsl": {
"h": 58.512,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.66493,
"c": 0.13223,
"h": 108
},
"luminance": 0.29972
}Semantic roles & 50–950 ramp
primary
#9C9923
secondary
#5B5EC0
accent
#46E641
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A