#40CA7A#40CA7A

#40CA7A is a light, vivid green. Relative luminance 0.447; OKLCH L 74.6% C 0.165 H 153.6°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#40CA7A
RGBrgb(64, 202, 122)
HSLhsl(145, 57%, 52%)
HSVhsv(145, 68%, 79%)
CMYKcmyk(68.3%, 0%, 39.6%, 20.8%)
CIE-LABlab(72.72, -54.75, 29.46)
CIE-LCHlch(72.72, 62.17, 151.71°)
OKLaboklab(74.61% -0.1478 0.0734)
OKLCHoklch(74.61% 0.165 153.6)
XYZxyz(26.7454, 44.7333, 25.6334)
Luminance0.4474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CA7A #CA4090
analogous
#4BCA40 #40CA7A #40CABF
triadic
#40CA7A #7A40CA #CA7A40
tetradic
#40CA7A #404BCA #CA4090 #CABF40
square
#40CA7A #404BCA #CA4090 #CABF40
split-complementary
#40CA7A #BF40CA #CA404B
monochromatic
#1F7041 #2CA05D #40CA7A #70D79B #A0E5BD

Accessibility & contrast

On white

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

On black

9.95
#40CA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CA7A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CA7A#FFFFFF#000000##000000
##40CA7A1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40ca7a;
/* rgb */ color: rgb(64, 202, 122);
/* oklch */ color: oklch(74.6% 0.165 153.6);
Tailwind
colors: {
  custom: {
    50: '#85dba1',
    500: '#40ca7a',
    950: '#000000',
  },
}
SCSS
$custom: #40ca7a;
$custom-light: #85dba1;
$custom-dark: #000000;
JSON
{
  "hex": "#40ca7a",
  "rgb": {
    "r": 64,
    "g": 202,
    "b": 122
  },
  "hsl": {
    "h": 145.217,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74608,
    "c": 0.16501,
    "h": 153.6
  },
  "luminance": 0.44736
}

Semantic roles & 50–950 ramp

primary
#40CA7A
secondary
#D195B8
accent
#48A0E0
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #40CA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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