#40B462#40B462
#40B462 is a light, vivid green. Relative luminance 0.346; OKLCH L 68.5% C 0.158 H 149.7°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #40B462 |
|---|---|
| RGB | rgb(64, 180, 98) |
| HSL | hsl(138, 48%, 48%) |
| HSV | hsv(138, 64%, 71%) |
| CMYK | cmyk(64.4%, 0%, 45.6%, 29.4%) |
| CIE-LAB | lab(65.45, -50.53, 32.42) |
| CIE-LCH | lch(65.45, 60.04, 147.32°) |
| OKLab | oklab(68.5% -0.1364 0.0795) |
| OKLCH | oklch(68.5% 0.158 149.7) |
| XYZ | xyz(20.6387, 34.6122, 17.1461) |
| Luminance | 0.3461 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Cool Green
#33B864
ΔE00 1.37
Mediumseagreen
#3CB371
ΔE00 3.21
Jade Green
#2BAF6A
ΔE00 3.28
Dark Pastel Green
#56AE57
ΔE00 3.34
Algae
#54AC68
ΔE00 3.36
Fern
#63B76C
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40B462 #B44092
analogous
#58B440 #40B462 #40B49C
triadic
#40B462 #6240B4 #B46240
tetradic
#40B462 #4058B4 #B44092 #B49C40
square
#40B462 #4058B4 #B44092 #B49C40
split-complementary
#40B462 #9C40B4 #B44058
monochromatic
#205A31 #308749 #40B462 #68C984 #95D9A9
Accessibility & contrast
On white
2.65
#40B462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#40B462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40B462
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40B462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40B462 | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A55C
Deuteranopia (green-blind)
#A69B68
Tritanopia (blue-blind)
#15B1A0
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #40b462; /* rgb */ color: rgb(64, 180, 98); /* oklch */ color: oklch(68.5% 0.158 149.7);
Tailwind
colors: {
custom: {
50: '#82cb90',
500: '#40b462',
950: '#000000',
},
}SCSS
$custom: #40b462; $custom-light: #82cb90; $custom-dark: #000000;
JSON
{
"hex": "#40b462",
"rgb": {
"r": 64,
"g": 180,
"b": 98
},
"hsl": {
"h": 137.586,
"s": 47.541,
"l": 47.843
},
"oklch": {
"l": 0.68496,
"c": 0.15786,
"h": 149.7
},
"luminance": 0.34614
}Semantic roles & 50–950 ramp
primary
#40B462
secondary
#C58BB4
accent
#51B0D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0B130C
muted
#7C827D