#40C27E#40C27E

#40C27E is a light, vivid green. Relative luminance 0.412; OKLCH L 72.6% C 0.151 H 156.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#40C27E
RGBrgb(64, 194, 126)
HSLhsl(149, 52%, 51%)
HSVhsv(149, 67%, 76%)
CMYKcmyk(67%, 0%, 35.1%, 23.9%)
CIE-LABlab(70.30, -50.90, 24.15)
CIE-LCHlch(70.30, 56.34, 154.62°)
OKLaboklab(72.64% -0.138 0.0607)
OKLCHoklch(72.64% 0.151 156.2)
XYZxyz(25.1697, 41.1772, 26.3561)
Luminance0.4118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C27E #C24084
analogous
#43C240 #40C27E #40C2BF
triadic
#40C27E #7E40C2 #C27E40
tetradic
#40C27E #4043C2 #C24084 #C2BF40
square
#40C27E #4043C2 #C24084 #C2BF40
split-complementary
#40C27E #BF40C2 #C24043
monochromatic
#216742 #309560 #40C27E #6ED19D #9DE0BD

Accessibility & contrast

On white

2.27
#40C27E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#40C27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C27E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C27E#FFFFFF#000000##000000
##40C27E1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B37A
Deuteranopia (green-blind)
#B0A782
Tritanopia (blue-blind)
#00C0B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c27e;
/* rgb */ color: rgb(64, 194, 126);
/* oklch */ color: oklch(72.6% 0.151 156.2);
Tailwind
colors: {
  custom: {
    50: '#84d5a4',
    500: '#40c27e',
    950: '#000000',
  },
}
SCSS
$custom: #40c27e;
$custom-light: #84d5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c27e",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 126
  },
  "hsl": {
    "h": 148.615,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72642,
    "c": 0.15074,
    "h": 156.2
  },
  "luminance": 0.4118
}

Semantic roles & 50–950 ramp

primary
#40C27E
secondary
#CC92B0
accent
#4D97DB
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C27E

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

Preview Lab → · Contrast checker → · Palette generator →

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