#40D54C#40D54C

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

Color values

HEX#40D54C
RGBrgb(64, 213, 76)
HSLhsl(125, 64%, 54%)
HSVhsv(125, 70%, 84%)
CMYKcmyk(70%, 0%, 64.3%, 16.5%)
CIE-LABlab(75.57, -65.18, 54.83)
CIE-LCHlch(75.57, 85.17, 139.93°)
OKLaboklab(76.79% -0.1764 0.1273)
OKLCHoklch(76.79% 0.218 144.2)
XYZxyz(27.2114, 49.1973, 14.8980)
Luminance0.4920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D54C #D540C9
analogous
#7FD540 #40D54C #40D597
triadic
#40D54C #4C40D5 #D54C40
tetradic
#40D54C #407FD5 #D540C9 #D59740
square
#40D54C #407FD5 #D540C9 #D59740
split-complementary
#40D54C #9740D5 #D5407F
monochromatic
#1C7F24 #27B132 #40D54C #72E07B #A4EBAA

Accessibility & contrast

On white

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

On black

10.84
#40D54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D54C
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D54C#FFFFFF#000000##000000
##40D54C1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C13B
Deuteranopia (green-blind)
#C8B658
Tritanopia (blue-blind)
#01CFB9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d54c;
/* rgb */ color: rgb(64, 213, 76);
/* oklch */ color: oklch(76.8% 0.218 144.2);
Tailwind
colors: {
  custom: {
    50: '#89e384',
    500: '#40d54c',
    950: '#000000',
  },
}
SCSS
$custom: #40d54c;
$custom-light: #89e384;
$custom-dark: #000000;
JSON
{
  "hex": "#40d54c",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 76
  },
  "hsl": {
    "h": 124.832,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76786,
    "c": 0.21751,
    "h": 144.2
  },
  "luminance": 0.492
}

Semantic roles & 50–950 ramp

primary
#40D54C
secondary
#D899D3
accent
#41DAE7
background
#F9FEF8
surface
#F1FCEF
border
#CBD5CA
text
#0D160B
muted
#7E847C

Preview Lab

Preview with #40D54C

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

Preview Lab → · Contrast checker → · Palette generator →

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