#40CA7B#40CA7B

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

Color values

HEX#40CA7B
RGBrgb(64, 202, 123)
HSLhsl(146, 57%, 52%)
HSVhsv(146, 68%, 79%)
CMYKcmyk(68.3%, 0%, 39.1%, 20.8%)
CIE-LABlab(72.73, -54.57, 28.97)
CIE-LCHlch(72.73, 61.78, 152.04°)
OKLaboklab(74.63% -0.1474 0.0722)
OKLCHoklch(74.63% 0.164 153.9)
XYZxyz(26.8077, 44.7582, 25.9614)
Luminance0.4476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CA7B #CA408F
analogous
#4ACA40 #40CA7B #40CAC0
triadic
#40CA7B #7B40CA #CA7B40
tetradic
#40CA7B #404ACA #CA408F #CAC040
square
#40CA7B #404ACA #CA408F #CAC040
split-complementary
#40CA7B #C040CA #CA404A
monochromatic
#1F7042 #2CA05E #40CA7B #70D79C #A0E5BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40CA7B#FFFFFF#000000##000000
##40CA7B1.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)
#CABA76
Deuteranopia (green-blind)
#B8AE80
Tritanopia (blue-blind)
#00C8B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40ca7b;
/* rgb */ color: rgb(64, 202, 123);
/* oklch */ color: oklch(74.6% 0.164 153.9);
Tailwind
colors: {
  custom: {
    50: '#85dba2',
    500: '#40ca7b',
    950: '#000000',
  },
}
SCSS
$custom: #40ca7b;
$custom-light: #85dba2;
$custom-dark: #000000;
JSON
{
  "hex": "#40ca7b",
  "rgb": {
    "r": 64,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 145.652,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74627,
    "c": 0.1641,
    "h": 153.9
  },
  "luminance": 0.44761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40CA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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