#40D277#40D277

#40D277 is a light, vivid green. Relative luminance 0.485; OKLCH L 76.6% C 0.178 H 151.8°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#40D277
RGBrgb(64, 210, 119)
HSLhsl(143, 62%, 54%)
HSVhsv(143, 70%, 82%)
CMYKcmyk(69.5%, 0%, 43.3%, 17.6%)
CIE-LABlab(75.15, -58.26, 34.17)
CIE-LCHlch(75.15, 67.54, 149.60°)
OKLaboklab(76.6% -0.157 0.0843)
OKLCHoklch(76.6% 0.178 151.8)
XYZxyz(28.4883, 48.5119, 25.3115)
Luminance0.4852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D277 #D2409B
analogous
#52D240 #40D277 #40D2C0
triadic
#40D277 #7740D2 #D27740
tetradic
#40D277 #4052D2 #D2409B #D2C040
square
#40D277 #4052D2 #D2409B #D2C040
split-complementary
#40D277 #C040D2 #D24052
monochromatic
#1D7B40 #29AC5A #40D277 #72DE9A #A3E9BE

Accessibility & contrast

On white

1.96
#40D277 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#40D277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D277
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D277#FFFFFF#000000##000000
##40D2771.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C170
Deuteranopia (green-blind)
#C1B47D
Tritanopia (blue-blind)
#00CFBC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d277;
/* rgb */ color: rgb(64, 210, 119);
/* oklch */ color: oklch(76.6% 0.178 151.8);
Tailwind
colors: {
  custom: {
    50: '#87e19f',
    500: '#40d277',
    950: '#000000',
  },
}
SCSS
$custom: #40d277;
$custom-light: #87e19f;
$custom-dark: #000000;
JSON
{
  "hex": "#40d277",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 119
  },
  "hsl": {
    "h": 142.603,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76597,
    "c": 0.17817,
    "h": 151.8
  },
  "luminance": 0.48515
}

Semantic roles & 50–950 ramp

primary
#40D277
secondary
#D698BF
accent
#43A8E5
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150E
muted
#7E837E

Preview Lab

Preview with #40D277

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

Preview Lab → · Contrast checker → · Palette generator →

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