#40D470#40D470

#40D470 is a light, vivid green. Relative luminance 0.493; OKLCH L 77.0% C 0.187 H 150.0°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#40D470
RGBrgb(64, 212, 112)
HSLhsl(139, 63%, 54%)
HSVhsv(139, 70%, 83%)
CMYKcmyk(69.8%, 0%, 47.2%, 16.9%)
CIE-LABlab(75.66, -60.13, 38.34)
CIE-LCHlch(75.66, 71.31, 147.48°)
OKLaboklab(76.99% -0.1619 0.0936)
OKLCHoklch(76.99% 0.187 150)
XYZxyz(28.5802, 49.3436, 23.3441)
Luminance0.4935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D470 #D440A4
analogous
#5AD440 #40D470 #40D4BA
triadic
#40D470 #7040D4 #D47040
tetradic
#40D470 #405AD4 #D440A4 #D4BA40
square
#40D470 #405AD4 #D440A4 #D4BA40
split-complementary
#40D470 #BA40D4 #D4405A
monochromatic
#1C7D3C #27AF54 #40D470 #72DF95 #A4EABB

Accessibility & contrast

On white

1.93
#40D470 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#40D470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D470
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D470#FFFFFF#000000##000000
##40D4701.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C268
Deuteranopia (green-blind)
#C3B577
Tritanopia (blue-blind)
#00D0BC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d470;
/* rgb */ color: rgb(64, 212, 112);
/* oklch */ color: oklch(77.0% 0.187 150.0);
Tailwind
colors: {
  custom: {
    50: '#87e29a',
    500: '#40d470',
    950: '#000000',
  },
}
SCSS
$custom: #40d470;
$custom-light: #87e29a;
$custom-dark: #000000;
JSON
{
  "hex": "#40d470",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 112
  },
  "hsl": {
    "h": 139.459,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76991,
    "c": 0.18701,
    "h": 150
  },
  "luminance": 0.49347
}

Semantic roles & 50–950 ramp

primary
#40D470
secondary
#D798C3
accent
#42B1E6
background
#F9FEF9
surface
#F1FCF2
border
#CBD5CC
text
#0D150E
muted
#7E847E

Preview Lab

Preview with #40D470

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

Preview Lab → · Contrast checker → · Palette generator →

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