#9CA323#9CA323
#9CA323 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.142 H 112.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA323 |
|---|---|
| RGB | rgb(156, 163, 35) |
| HSL | hsl(63, 65%, 39%) |
| HSV | hsv(63, 79%, 64%) |
| CMYK | cmyk(4.3%, 0%, 78.5%, 36.1%) |
| CIE-LAB | lab(64.47, -17.72, 60.16) |
| CIE-LCH | lch(64.47, 62.71, 106.41°) |
| OKLab | oklab(68.77% -0.0553 0.1313) |
| OKLCH | oklch(68.77% 0.142 112.8) |
| XYZ | xyz(27.1118, 33.3843, 6.6054) |
| Luminance | 0.3338 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.94
Pea Soup Green
#94A617
ΔE00 2.56
Puke
#A5A502
ΔE00 3.05
Pea Soup
#929901
ΔE00 3.36
Baby Poop Green
#8F9805
ΔE00 3.73
Puke Green
#9AAE07
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA323 #2A23A3
analogous
#A36A23 #9CA323 #5CA323
triadic
#9CA323 #239CA3 #A3239C
tetradic
#9CA323 #23A36A #2A23A3 #A3235C
square
#9CA323 #23A36A #2A23A3 #A3235C
split-complementary
#9CA323 #235CA3 #6A23A3
monochromatic
#3C3E0D #6C7118 #9CA323 #CAD331 #D7DD63
Accessibility & contrast
On white
2.74
#9CA323 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#9CA323 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA323
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA323 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA323 | 1.00 | 2.74 | 7.68 | 7.68 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B09E2F
Tritanopia (blue-blind)
#A7998B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ca323; /* rgb */ color: rgb(156, 163, 35); /* oklch */ color: oklch(68.8% 0.142 112.8);
Tailwind
colors: {
custom: {
50: '#bdbe6a',
500: '#9ca323',
950: '#000000',
},
}SCSS
$custom: #9ca323; $custom-light: #bdbe6a; $custom-dark: #000000;
JSON
{
"hex": "#9ca323",
"rgb": {
"r": 156,
"g": 163,
"b": 35
},
"hsl": {
"h": 63.281,
"s": 64.646,
"l": 38.824
},
"oklch": {
"l": 0.68765,
"c": 0.14242,
"h": 112.8
},
"luminance": 0.33384
}Semantic roles & 50–950 ramp
primary
#9CA323
secondary
#655FC3
accent
#40E849
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A