#28BA40#28BA40
#28BA40 is a light, highly saturated green. Relative luminance 0.359; OKLCH L 69.1% C 0.202 H 145.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #28BA40 |
|---|---|
| RGB | rgb(40, 186, 64) |
| HSL | hsl(130, 65%, 44%) |
| HSV | hsv(130, 78%, 73%) |
| CMYK | cmyk(78.5%, 0%, 65.6%, 27.1%) |
| CIE-LAB | lab(66.47, -61.30, 49.71) |
| CIE-LCH | lch(66.47, 78.92, 140.96°) |
| OKLab | oklab(69.08% -0.1654 0.1153) |
| OKLCH | oklch(69.08% 0.202 145.1) |
| XYZ | xyz(19.3580, 35.9368, 10.7658) |
| Luminance | 0.3594 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.47
Leafy Green
#51B73B
ΔE00 3.14
Shamrock
#01B44C
ΔE00 3.18
Green (survey)
#15B01A
ΔE00 4.06
Medium Green
#39AD48
ΔE00 4.09
Kelly Green (survey)
#02AB2E
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28BA40 #BA28A2
analogous
#59BA28 #28BA40 #28BA89
triadic
#28BA40 #4028BA #BA4028
tetradic
#28BA40 #2859BA #BA28A2 #BA8928
square
#28BA40 #2859BA #BA28A2 #BA8928
split-complementary
#28BA40 #8928BA #BA2859
monochromatic
#12551D #1D882F #28BA40 #48D85F #7AE28B
Accessibility & contrast
On white
2.56
#28BA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#28BA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #28BA40
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28BA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##28BA40 | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#AD9D4B
Tritanopia (blue-blind)
#00B5A1
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #28ba40; /* rgb */ color: rgb(40, 186, 64); /* oklch */ color: oklch(69.1% 0.202 145.1);
Tailwind
colors: {
custom: {
50: '#7bd07a',
500: '#28ba40',
950: '#000000',
},
}SCSS
$custom: #28ba40; $custom-light: #7bd07a; $custom-dark: #000000;
JSON
{
"hex": "#28ba40",
"rgb": {
"r": 40,
"g": 186,
"b": 64
},
"hsl": {
"h": 129.863,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.69075,
"c": 0.20157,
"h": 145.1
},
"luminance": 0.35939
}Semantic roles & 50–950 ramp
primary
#28BA40
secondary
#CA73BC
accent
#40CCE8
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B