#9CAF28#9CAF28
#9CAF28 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.6% C 0.153 H 117.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9CAF28 |
|---|---|
| RGB | rgb(156, 175, 40) |
| HSL | hsl(68, 63%, 42%) |
| HSV | hsv(68, 77%, 69%) |
| CMYK | cmyk(10.9%, 0%, 77.1%, 31.4%) |
| CIE-LAB | lab(67.93, -23.54, 61.76) |
| CIE-LCH | lch(67.93, 66.09, 110.87°) |
| OKLab | oklab(71.55% -0.071 0.1356) |
| OKLCH | oklch(71.55% 0.153 117.6) |
| XYZ | xyz(29.4240, 37.8814, 7.7689) |
| Luminance | 0.3788 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.73
Barf Green
#94AC02
ΔE00 2.08
Sickly Green
#94B21C
ΔE00 2.23
Icky Green
#8FAE22
ΔE00 2.66
Pea Green
#8EAB12
ΔE00 2.68
Pea Soup Green
#94A617
ΔE00 2.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CAF28 #3B28AF
analogous
#AF7E28 #9CAF28 #59AF28
triadic
#9CAF28 #289CAF #AF289C
tetradic
#9CAF28 #28AF7E #3B28AF #AF2859
square
#9CAF28 #28AF7E #3B28AF #AF2859
split-complementary
#9CAF28 #2859AF #7E28AF
monochromatic
#434B11 #707D1D #9CAF28 #BFD441 #D0DF73
Accessibility & contrast
On white
2.45
#9CAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.58
#9CAF28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CAF28
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CAF28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CAF28 | 1.00 | 2.45 | 8.58 | 8.58 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA501
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#A6A596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9caf28; /* rgb */ color: rgb(156, 175, 40); /* oklch */ color: oklch(71.6% 0.153 117.6);
Tailwind
colors: {
custom: {
50: '#bdc66d',
500: '#9caf28',
950: '#000000',
},
}SCSS
$custom: #9caf28; $custom-light: #bdc66d; $custom-dark: #000000;
JSON
{
"hex": "#9caf28",
"rgb": {
"r": 156,
"g": 175,
"b": 40
},
"hsl": {
"h": 68.444,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.71552,
"c": 0.153,
"h": 117.6
},
"luminance": 0.37881
}Semantic roles & 50–950 ramp
primary
#9CAF28
secondary
#796DC6
accent
#42E659
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B