#40CA7E#40CA7E

#40CA7E is a light, vivid green. Relative luminance 0.448; OKLCH L 74.7% C 0.161 H 154.8°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#40CA7E
RGBrgb(64, 202, 126)
HSLhsl(147, 57%, 52%)
HSVhsv(147, 68%, 79%)
CMYKcmyk(68.3%, 0%, 37.6%, 20.8%)
CIE-LABlab(72.78, -54.01, 27.48)
CIE-LCHlch(72.78, 60.59, 153.03°)
OKLaboklab(74.69% -0.146 0.0687)
OKLCHoklch(74.69% 0.161 154.8)
XYZxyz(26.9984, 44.8344, 26.9657)
Luminance0.4484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CA7E #CA408C
analogous
#47CA40 #40CA7E #40CAC3
triadic
#40CA7E #7E40CA #CA7E40
tetradic
#40CA7E #4047CA #CA408C #CAC340
square
#40CA7E #4047CA #CA408C #CAC340
split-complementary
#40CA7E #C340CA #CA4047
monochromatic
#1F7044 #2CA061 #40CA7E #70D79E #A0E5BF

Accessibility & contrast

On white

2.11
#40CA7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#40CA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CA7E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CA7E#FFFFFF#000000##000000
##40CA7E1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9BA79
Deuteranopia (green-blind)
#B8AE83
Tritanopia (blue-blind)
#00C8B7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40ca7e;
/* rgb */ color: rgb(64, 202, 126);
/* oklch */ color: oklch(74.7% 0.161 154.8);
Tailwind
colors: {
  custom: {
    50: '#85dba4',
    500: '#40ca7e',
    950: '#000000',
  },
}
SCSS
$custom: #40ca7e;
$custom-light: #85dba4;
$custom-dark: #000000;
JSON
{
  "hex": "#40ca7e",
  "rgb": {
    "r": 64,
    "g": 202,
    "b": 126
  },
  "hsl": {
    "h": 146.957,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74685,
    "c": 0.16136,
    "h": 154.8
  },
  "luminance": 0.44837
}

Semantic roles & 50–950 ramp

primary
#40CA7E
secondary
#D195B6
accent
#489CE0
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40CA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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