#40D272#40D272

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

Color values

HEX#40D272
RGBrgb(64, 210, 114)
HSLhsl(141, 62%, 54%)
HSVhsv(141, 70%, 82%)
CMYKcmyk(69.5%, 0%, 45.7%, 17.6%)
CIE-LABlab(75.07, -59.09, 36.59)
CIE-LCHlch(75.07, 69.50, 148.23°)
OKLaboklab(76.51% -0.1591 0.0897)
OKLCHoklch(76.51% 0.183 150.6)
XYZxyz(28.1959, 48.3950, 23.7715)
Luminance0.4840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D272 #D240A0
analogous
#57D240 #40D272 #40D2BB
triadic
#40D272 #7240D2 #D27240
tetradic
#40D272 #4057D2 #D240A0 #D2BB40
square
#40D272 #4057D2 #D240A0 #D2BB40
split-complementary
#40D272 #BB40D2 #D24057
monochromatic
#1D7B3D #29AC56 #40D272 #72DE97 #A3E9BB

Accessibility & contrast

On white

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

On black

10.68
#40D272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D272
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D272#FFFFFF#000000##000000
##40D2721.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C06B
Deuteranopia (green-blind)
#C1B479
Tritanopia (blue-blind)
#00CFBB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d272;
/* rgb */ color: rgb(64, 210, 114);
/* oklch */ color: oklch(76.5% 0.183 150.6);
Tailwind
colors: {
  custom: {
    50: '#87e19c',
    500: '#40d272',
    950: '#000000',
  },
}
SCSS
$custom: #40d272;
$custom-light: #87e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#40d272",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 140.548,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76512,
    "c": 0.18268,
    "h": 150.6
  },
  "luminance": 0.48398
}

Semantic roles & 50–950 ramp

primary
#40D272
secondary
#D698C1
accent
#43ADE5
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150E
muted
#7E837E

Preview Lab

Preview with #40D272

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

Preview Lab → · Contrast checker → · Palette generator →

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