#40D54F#40D54F

#40D54F is a light, highly saturated green. Relative luminance 0.492; OKLCH L 76.8% C 0.215 H 144.5°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#40D54F
RGBrgb(64, 213, 79)
HSLhsl(126, 64%, 54%)
HSVhsv(126, 70%, 84%)
CMYKcmyk(70%, 0%, 62.9%, 16.5%)
CIE-LABlab(75.60, -64.86, 53.59)
CIE-LCHlch(75.60, 84.14, 140.43°)
OKLaboklab(76.82% -0.1754 0.1249)
OKLCHoklch(76.82% 0.215 144.5)
XYZxyz(27.3181, 49.2400, 15.4602)
Luminance0.4924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D54F #D540C6
analogous
#7CD540 #40D54F #40D599
triadic
#40D54F #4F40D5 #D54F40
tetradic
#40D54F #407CD5 #D540C6 #D59940
square
#40D54F #407CD5 #D540C6 #D59940
split-complementary
#40D54F #9940D5 #D5407C
monochromatic
#1C7F26 #27B135 #40D54F #72E07D #A4EBAB

Accessibility & contrast

On white

1.94
#40D54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#40D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D54F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D54F#FFFFFF#000000##000000
##40D54F1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23F
Deuteranopia (green-blind)
#C7B65B
Tritanopia (blue-blind)
#00CFB9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d54f;
/* rgb */ color: rgb(64, 213, 79);
/* oklch */ color: oklch(76.8% 0.215 144.5);
Tailwind
colors: {
  custom: {
    50: '#89e385',
    500: '#40d54f',
    950: '#000000',
  },
}
SCSS
$custom: #40d54f;
$custom-light: #89e385;
$custom-dark: #000000;
JSON
{
  "hex": "#40d54f",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 126.04,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76816,
    "c": 0.21536,
    "h": 144.5
  },
  "luminance": 0.49243
}

Semantic roles & 50–950 ramp

primary
#40D54F
secondary
#D899D2
accent
#41D6E7
background
#F9FEF8
surface
#F1FCF0
border
#CBD5CB
text
#0D160B
muted
#7E847C

Preview Lab

Preview with #40D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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