#9CA528#9CA528
#9CA528 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.3% C 0.142 H 113.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA528 |
|---|---|
| RGB | rgb(156, 165, 40) |
| HSL | hsl(64, 61%, 40%) |
| HSV | hsv(64, 76%, 65%) |
| CMYK | cmyk(5.5%, 0%, 75.8%, 35.3%) |
| CIE-LAB | lab(65.07, -18.53, 59.11) |
| CIE-LCH | lch(65.07, 61.94, 107.41°) |
| OKLab | oklab(69.25% -0.0571 0.1299) |
| OKLCH | oklch(69.25% 0.142 113.7) |
| XYZ | xyz(27.5493, 34.1320, 7.1440) |
| Luminance | 0.3413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.17
Vomit
#A2A415
ΔE00 2.48
Puke
#A5A502
ΔE00 3.54
Puke Green
#9AAE07
ΔE00 3.62
Barf Green
#94AC02
ΔE00 3.78
Pea Soup
#929901
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA528 #3128A5
analogous
#A56F28 #9CA528 #5DA528
triadic
#9CA528 #289CA5 #A5289C
tetradic
#9CA528 #28A56F #3128A5 #A5285D
square
#9CA528 #28A56F #3128A5 #A5285D
split-complementary
#9CA528 #285DA5 #6F28A5
monochromatic
#3F4210 #6D741C #9CA528 #C5CF3B #D3DB6C
Accessibility & contrast
On white
2.68
#9CA528 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#9CA528 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA528
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA528 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA528 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D0A
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#A79B8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ca528; /* rgb */ color: rgb(156, 165, 40); /* oklch */ color: oklch(69.3% 0.142 113.7);
Tailwind
colors: {
custom: {
50: '#bdbf6c',
500: '#9ca528',
950: '#000000',
},
}SCSS
$custom: #9ca528; $custom-light: #bdbf6c; $custom-dark: #000000;
JSON
{
"hex": "#9ca528",
"rgb": {
"r": 156,
"g": 165,
"b": 40
},
"hsl": {
"h": 64.32,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.69251,
"c": 0.14193,
"h": 113.7
},
"luminance": 0.34131
}Semantic roles & 50–950 ramp
primary
#9CA528
secondary
#6D67C2
accent
#44E44F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A