#9CA328#9CA328
#9CA328 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.140 H 112.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA328 |
|---|---|
| RGB | rgb(156, 163, 40) |
| HSL | hsl(63, 61%, 40%) |
| HSV | hsv(63, 75%, 64%) |
| CMYK | cmyk(4.3%, 0%, 75.5%, 36.1%) |
| CIE-LAB | lab(64.50, -17.51, 58.57) |
| CIE-LCH | lch(64.50, 61.13, 106.64°) |
| OKLab | oklab(68.79% -0.0543 0.1288) |
| OKLCH | oklch(68.79% 0.14 112.8) |
| XYZ | xyz(27.1914, 33.4161, 7.0246) |
| Luminance | 0.3342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.27
Pea Soup Green
#94A617
ΔE00 2.65
Puke
#A5A502
ΔE00 3.39
Pea Soup
#929901
ΔE00 3.54
Baby Poop Green
#8F9805
ΔE00 3.85
Puke Green
#9AAE07
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA328 #2F28A3
analogous
#A36D28 #9CA328 #5EA328
triadic
#9CA328 #289CA3 #A3289C
tetradic
#9CA328 #28A36D #2F28A3 #A3285E
square
#9CA328 #28A36D #2F28A3 #A3285E
split-complementary
#9CA328 #285EA3 #6D28A3
monochromatic
#3E4110 #6D721C #9CA328 #C6CF3A #D4DB6B
Accessibility & contrast
On white
2.73
#9CA328 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#9CA328 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA328
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA328 | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 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)
#B09B0B
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#A7998C
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ca328; /* rgb */ color: rgb(156, 163, 40); /* oklch */ color: oklch(68.8% 0.140 112.8);
Tailwind
colors: {
custom: {
50: '#bdbe6c',
500: '#9ca328',
950: '#000000',
},
}SCSS
$custom: #9ca328; $custom-light: #bdbe6c; $custom-dark: #000000;
JSON
{
"hex": "#9ca328",
"rgb": {
"r": 156,
"g": 163,
"b": 40
},
"hsl": {
"h": 63.415,
"s": 60.591,
"l": 39.804
},
"oklch": {
"l": 0.68793,
"c": 0.13977,
"h": 112.8
},
"luminance": 0.33416
}Semantic roles & 50–950 ramp
primary
#9CA328
secondary
#6B66C1
accent
#44E44D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A