#40D450#40D450

#40D450 is a light, highly saturated green. Relative luminance 0.488; OKLCH L 76.6% C 0.213 H 144.7°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#40D450
RGBrgb(64, 212, 80)
HSLhsl(126, 63%, 54%)
HSVhsv(126, 70%, 83%)
CMYKcmyk(69.8%, 0%, 62.3%, 16.9%)
CIE-LABlab(75.30, -64.42, 52.82)
CIE-LCHlch(75.30, 83.31, 140.65°)
OKLaboklab(76.57% -0.1742 0.1234)
OKLCHoklch(76.57% 0.213 144.7)
XYZxyz(27.1040, 48.7532, 15.5697)
Luminance0.4876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D450 #D440C4
analogous
#7AD440 #40D450 #40D49A
triadic
#40D450 #5040D4 #D45040
tetradic
#40D450 #407AD4 #D440C4 #D49A40
square
#40D450 #407AD4 #D440C4 #D49A40
split-complementary
#40D450 #9A40D4 #D4407A
monochromatic
#1C7D27 #27AF36 #40D450 #72DF7E #A4EAAC

Accessibility & contrast

On white

1.95
#40D450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#40D450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D450
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D450#FFFFFF#000000##000000
##40D4501.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C141
Deuteranopia (green-blind)
#C6B55B
Tritanopia (blue-blind)
#00CFB8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d450;
/* rgb */ color: rgb(64, 212, 80);
/* oklch */ color: oklch(76.6% 0.213 144.7);
Tailwind
colors: {
  custom: {
    50: '#89e286',
    500: '#40d450',
    950: '#000000',
  },
}
SCSS
$custom: #40d450;
$custom-light: #89e286;
$custom-dark: #000000;
JSON
{
  "hex": "#40d450",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 80
  },
  "hsl": {
    "h": 126.486,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76568,
    "c": 0.21346,
    "h": 144.7
  },
  "luminance": 0.48756
}

Semantic roles & 50–950 ramp

primary
#40D450
secondary
#D798D1
accent
#42D4E6
background
#F9FEF8
surface
#F1FCF0
border
#CBD5CB
text
#0D160B
muted
#7E847C

Preview Lab

Preview with #40D450

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#40D450 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva