#40CA7C#40CA7C

#40CA7C is a light, vivid green. Relative luminance 0.448; OKLCH L 74.6% C 0.163 H 154.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#40CA7C
RGBrgb(64, 202, 124)
HSLhsl(146, 57%, 52%)
HSVhsv(146, 68%, 79%)
CMYKcmyk(68.3%, 0%, 38.6%, 20.8%)
CIE-LABlab(72.75, -54.38, 28.47)
CIE-LCHlch(72.75, 61.38, 152.37°)
OKLaboklab(74.65% -0.1469 0.071)
OKLCHoklch(74.65% 0.163 154.2)
XYZxyz(26.8706, 44.7833, 26.2928)
Luminance0.4479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CA7C #CA408E
analogous
#49CA40 #40CA7C #40CAC1
triadic
#40CA7C #7C40CA #CA7C40
tetradic
#40CA7C #4049CA #CA408E #CAC140
square
#40CA7C #4049CA #CA408E #CAC140
split-complementary
#40CA7C #C140CA #CA4049
monochromatic
#1F7043 #2CA05F #40CA7C #70D79D #A0E5BE

Accessibility & contrast

On white

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

On black

9.96
#40CA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CA7C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CA7C#FFFFFF#000000##000000
##40CA7C1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABA77
Deuteranopia (green-blind)
#B8AE81
Tritanopia (blue-blind)
#00C8B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40ca7c;
/* rgb */ color: rgb(64, 202, 124);
/* oklch */ color: oklch(74.6% 0.163 154.2);
Tailwind
colors: {
  custom: {
    50: '#85dba2',
    500: '#40ca7c',
    950: '#000000',
  },
}
SCSS
$custom: #40ca7c;
$custom-light: #85dba2;
$custom-dark: #000000;
JSON
{
  "hex": "#40ca7c",
  "rgb": {
    "r": 64,
    "g": 202,
    "b": 124
  },
  "hsl": {
    "h": 146.087,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74646,
    "c": 0.16318,
    "h": 154.2
  },
  "luminance": 0.44786
}

Semantic roles & 50–950 ramp

primary
#40CA7C
secondary
#D195B7
accent
#489EE0
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40CA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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