#40D451#40D451

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

Color values

HEX#40D451
RGBrgb(64, 212, 81)
HSLhsl(127, 63%, 54%)
HSVhsv(127, 70%, 83%)
CMYKcmyk(69.8%, 0%, 61.8%, 16.9%)
CIE-LABlab(75.31, -64.31, 52.40)
CIE-LCHlch(75.31, 82.96, 140.82°)
OKLaboklab(76.58% -0.1738 0.1226)
OKLCHoklch(76.58% 0.213 144.8)
XYZxyz(27.1412, 48.7681, 15.7658)
Luminance0.4877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D451 #D440C3
analogous
#79D440 #40D451 #40D49B
triadic
#40D451 #5140D4 #D45140
tetradic
#40D451 #4079D4 #D440C3 #D49B40
square
#40D451 #4079D4 #D440C3 #D49B40
split-complementary
#40D451 #9B40D4 #D44079
monochromatic
#1C7D27 #27AF37 #40D451 #72DF7F #A4EAAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D451#FFFFFF#000000##000000
##40D4511.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)
#D8C142
Deuteranopia (green-blind)
#C6B55C
Tritanopia (blue-blind)
#00CFB8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d451;
/* rgb */ color: rgb(64, 212, 81);
/* oklch */ color: oklch(76.6% 0.213 144.8);
Tailwind
colors: {
  custom: {
    50: '#89e286',
    500: '#40d451',
    950: '#000000',
  },
}
SCSS
$custom: #40d451;
$custom-light: #89e286;
$custom-dark: #000000;
JSON
{
  "hex": "#40d451",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 126.892,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76579,
    "c": 0.21271,
    "h": 144.8
  },
  "luminance": 0.48771
}

Semantic roles & 50–950 ramp

primary
#40D451
secondary
#D798D0
accent
#42D3E6
background
#F9FEF8
surface
#F1FCF0
border
#CBD5CB
text
#0D160B
muted
#7E847C

Preview Lab

Preview with #40D451

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

Preview Lab → · Contrast checker → · Palette generator →

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