#40CB7A#40CB7A

#40CB7A is a light, vivid green. Relative luminance 0.452; OKLCH L 74.9% C 0.166 H 153.5°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#40CB7A
RGBrgb(64, 203, 122)
HSLhsl(145, 57%, 52%)
HSVhsv(145, 68%, 80%)
CMYKcmyk(68.5%, 0%, 39.9%, 20.4%)
CIE-LABlab(73.03, -55.13, 29.87)
CIE-LCHlch(73.03, 62.70, 151.55°)
OKLaboklab(74.86% -0.1488 0.0743)
OKLCHoklch(74.86% 0.166 153.5)
XYZxyz(26.9808, 45.2040, 25.7119)
Luminance0.4521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB7A #CB4091
analogous
#4BCB40 #40CB7A #40CBC0
triadic
#40CB7A #7A40CB #CB7A40
tetradic
#40CB7A #404BCB #CB4091 #CBC040
square
#40CB7A #404BCB #CB4091 #CBC040
split-complementary
#40CB7A #C040CB #CB404B
monochromatic
#1F7241 #2CA25D #40CB7A #70D89B #A0E5BD

Accessibility & contrast

On white

2.09
#40CB7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#40CB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB7A
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB7A#FFFFFF#000000##000000
##40CB7A1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40cb7a;
/* rgb */ color: rgb(64, 203, 122);
/* oklch */ color: oklch(74.9% 0.166 153.5);
Tailwind
colors: {
  custom: {
    50: '#86dca1',
    500: '#40cb7a',
    950: '#000000',
  },
}
SCSS
$custom: #40cb7a;
$custom-light: #86dca1;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb7a",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 122
  },
  "hsl": {
    "h": 145.036,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74864,
    "c": 0.16632,
    "h": 153.5
  },
  "luminance": 0.45207
}

Semantic roles & 50–950 ramp

primary
#40CB7A
secondary
#D295B8
accent
#47A1E0
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #40CB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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