#40C248#40C248
#40C248 is a light, vivid green. Relative luminance 0.401; OKLCH L 71.8% C 0.198 H 144.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #40C248 |
|---|---|
| RGB | rgb(64, 194, 72) |
| HSL | hsl(124, 52%, 51%) |
| HSV | hsv(124, 67%, 76%) |
| CMYK | cmyk(67%, 0%, 62.9%, 23.9%) |
| CIE-LAB | lab(69.57, -59.19, 49.84) |
| CIE-LCH | lch(69.57, 77.38, 139.90°) |
| OKLab | oklab(71.8% -0.1603 0.1163) |
| OKLCH | oklch(71.8% 0.198 144.1) |
| XYZ | xyz(22.5744, 40.1391, 12.6876) |
| Luminance | 0.4014 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.58
Leafy Green
#51B73B
ΔE00 3.50
Lime Green
#32CD32
ΔE00 3.88
Kelly Green
#4CBB17
ΔE00 4.98
Shamrock
#01B44C
ΔE00 5.20
Apple
#6ECB3C
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C248 #C240BA
analogous
#79C240 #40C248 #40C289
triadic
#40C248 #4840C2 #C24840
tetradic
#40C248 #4079C2 #C240BA #C28940
square
#40C248 #4079C2 #C240BA #C28940
split-complementary
#40C248 #8940C2 #C24079
monochromatic
#216725 #309536 #40C248 #6ED174 #9DE0A1
Accessibility & contrast
On white
2.33
#40C248 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#40C248 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C248
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C248 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C248 | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B03A
Deuteranopia (green-blind)
#B6A652
Tritanopia (blue-blind)
#1CBDA8
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #40c248; /* rgb */ color: rgb(64, 194, 72); /* oklch */ color: oklch(71.8% 0.198 144.1);
Tailwind
colors: {
custom: {
50: '#85d680',
500: '#40c248',
950: '#000000',
},
}SCSS
$custom: #40c248; $custom-light: #85d680; $custom-dark: #000000;
JSON
{
"hex": "#40c248",
"rgb": {
"r": 64,
"g": 194,
"b": 72
},
"hsl": {
"h": 123.692,
"s": 51.587,
"l": 50.588
},
"oklch": {
"l": 0.71801,
"c": 0.19806,
"h": 144.1
},
"luminance": 0.40141
}Semantic roles & 50–950 ramp
primary
#40C248
secondary
#CC92C8
accent
#4DD2DB
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C