#40D270#40D270

#40D270 is a light, vivid green. Relative luminance 0.484; OKLCH L 76.5% C 0.184 H 150.1°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#40D270
RGBrgb(64, 210, 112)
HSLhsl(140, 62%, 54%)
HSVhsv(140, 70%, 82%)
CMYKcmyk(69.5%, 0%, 46.7%, 17.6%)
CIE-LABlab(75.05, -59.41, 37.56)
CIE-LCHlch(75.05, 70.29, 147.70°)
OKLaboklab(76.48% -0.16 0.0918)
OKLCHoklch(76.48% 0.184 150.1)
XYZxyz(28.0833, 48.3499, 23.1785)
Luminance0.4835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D270 #D240A2
analogous
#59D240 #40D270 #40D2B9
triadic
#40D270 #7040D2 #D27040
tetradic
#40D270 #4059D2 #D240A2 #D2B940
square
#40D270 #4059D2 #D240A2 #D2B940
split-complementary
#40D270 #B940D2 #D24059
monochromatic
#1D7B3C #29AC54 #40D270 #72DE95 #A3E9BA

Accessibility & contrast

On white

1.97
#40D270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#40D270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D270
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D270#FFFFFF#000000##000000
##40D2701.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C068
Deuteranopia (green-blind)
#C2B477
Tritanopia (blue-blind)
#00CEBB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d270;
/* rgb */ color: rgb(64, 210, 112);
/* oklch */ color: oklch(76.5% 0.184 150.1);
Tailwind
colors: {
  custom: {
    50: '#87e19a',
    500: '#40d270',
    950: '#000000',
  },
}
SCSS
$custom: #40d270;
$custom-light: #87e19a;
$custom-dark: #000000;
JSON
{
  "hex": "#40d270",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 112
  },
  "hsl": {
    "h": 139.726,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7648,
    "c": 0.18446,
    "h": 150.1
  },
  "luminance": 0.48353
}

Semantic roles & 50–950 ramp

primary
#40D270
secondary
#D698C2
accent
#43B0E5
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150E
muted
#7E837E

Preview Lab

Preview with #40D270

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

Preview Lab → · Contrast checker → · Palette generator →

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