#9CA828#9CA828
#9CA828 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.9% C 0.145 H 115.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA828 |
|---|---|
| RGB | rgb(156, 168, 40) |
| HSL | hsl(66, 62%, 41%) |
| HSV | hsv(66, 76%, 66%) |
| CMYK | cmyk(7.1%, 0%, 76.2%, 34.1%) |
| CIE-LAB | lab(65.92, -20.05, 59.90) |
| CIE-LCH | lch(65.92, 63.17, 108.51°) |
| OKLab | oklab(69.94% -0.0613 0.1316) |
| OKLCH | oklch(69.94% 0.145 115) |
| XYZ | xyz(28.0967, 35.2269, 7.3264) |
| Luminance | 0.3523 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.76
Puke Green
#9AAE07
ΔE00 2.76
Barf Green
#94AC02
ΔE00 2.97
Vomit
#A2A415
ΔE00 3.06
Pea Green
#8EAB12
ΔE00 3.60
Vomit Green
#89A203
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA828 #3428A8
analogous
#A87428 #9CA828 #5CA828
triadic
#9CA828 #289CA8 #A8289C
tetradic
#9CA828 #28A874 #3428A8 #A8285C
square
#9CA828 #28A874 #3428A8 #A8285C
split-complementary
#9CA828 #285CA8 #7428A8
monochromatic
#404510 #6E771C #9CA828 #C3D13D #D2DC6E
Accessibility & contrast
On white
2.61
#9CA828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#9CA828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA828
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA828 | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F07
Deuteranopia (green-blind)
#B4A133
Tritanopia (blue-blind)
#A69E90
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9ca828; /* rgb */ color: rgb(156, 168, 40); /* oklch */ color: oklch(69.9% 0.145 115.0);
Tailwind
colors: {
custom: {
50: '#bdc16d',
500: '#9ca828',
950: '#000000',
},
}SCSS
$custom: #9ca828; $custom-light: #bdc16d; $custom-dark: #000000;
JSON
{
"hex": "#9ca828",
"rgb": {
"r": 156,
"g": 168,
"b": 40
},
"hsl": {
"h": 65.625,
"s": 61.538,
"l": 40.784
},
"oklch": {
"l": 0.69938,
"c": 0.1452,
"h": 115
},
"luminance": 0.35226
}Semantic roles & 50–950 ramp
primary
#9CA828
secondary
#7169C3
accent
#43E552
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A