#9CA728#9CA728
#9CA728 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.7% C 0.144 H 114.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA728 |
|---|---|
| RGB | rgb(156, 167, 40) |
| HSL | hsl(65, 61%, 41%) |
| HSV | hsv(65, 76%, 65%) |
| CMYK | cmyk(6.6%, 0%, 76%, 34.5%) |
| CIE-LAB | lab(65.64, -19.54, 59.64) |
| CIE-LCH | lch(65.64, 62.76, 108.15°) |
| OKLab | oklab(69.71% -0.0599 0.1311) |
| OKLCH | oklch(69.71% 0.144 114.6) |
| XYZ | xyz(27.9128, 34.8591, 7.2651) |
| Luminance | 0.3486 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.84
Vomit
#A2A415
ΔE00 2.84
Puke Green
#9AAE07
ΔE00 3.04
Barf Green
#94AC02
ΔE00 3.22
Puke
#A5A502
ΔE00 3.80
Pea Green
#8EAB12
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA728 #3328A7
analogous
#A77228 #9CA728 #5CA728
triadic
#9CA728 #289CA7 #A7289C
tetradic
#9CA728 #28A772 #3328A7 #A7285C
square
#9CA728 #28A772 #3328A7 #A7285C
split-complementary
#9CA728 #285CA7 #7228A7
monochromatic
#404410 #6E761C #9CA728 #C3D03C #D3DC6D
Accessibility & contrast
On white
2.63
#9CA728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#9CA728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA728
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA728 | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E08
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#A79D8F
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #9ca728; /* rgb */ color: rgb(156, 167, 40); /* oklch */ color: oklch(69.7% 0.144 114.6);
Tailwind
colors: {
custom: {
50: '#bdc16c',
500: '#9ca728',
950: '#000000',
},
}SCSS
$custom: #9ca728; $custom-light: #bdc16c; $custom-dark: #000000;
JSON
{
"hex": "#9ca728",
"rgb": {
"r": 156,
"g": 167,
"b": 40
},
"hsl": {
"h": 65.197,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.69709,
"c": 0.1441,
"h": 114.6
},
"luminance": 0.34859
}Semantic roles & 50–950 ramp
primary
#9CA728
secondary
#7068C3
accent
#43E451
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A