#40CB7B#40CB7B

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

Color values

HEX#40CB7B
RGBrgb(64, 203, 123)
HSLhsl(145, 57%, 52%)
HSVhsv(145, 68%, 80%)
CMYKcmyk(68.5%, 0%, 39.4%, 20.4%)
CIE-LABlab(73.04, -54.94, 29.38)
CIE-LCHlch(73.04, 62.31, 151.87°)
OKLaboklab(74.88% -0.1483 0.0732)
OKLCHoklch(74.88% 0.165 153.7)
XYZxyz(27.0431, 45.2289, 26.0399)
Luminance0.4523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB7B #CB4090
analogous
#4ACB40 #40CB7B #40CBC1
triadic
#40CB7B #7B40CB #CB7B40
tetradic
#40CB7B #404ACB #CB4090 #CBC140
square
#40CB7B #404ACB #CB4090 #CBC140
split-complementary
#40CB7B #C140CB #CB404A
monochromatic
#1F7242 #2CA25E #40CB7B #70D89C #A0E5BD

Accessibility & contrast

On white

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

On black

10.05
#40CB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB7B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB7B#FFFFFF#000000##000000
##40CB7B1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBB75
Deuteranopia (green-blind)
#B9AE80
Tritanopia (blue-blind)
#00C9B7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cb7b;
/* rgb */ color: rgb(64, 203, 123);
/* oklch */ color: oklch(74.9% 0.165 153.7);
Tailwind
colors: {
  custom: {
    50: '#86dca2',
    500: '#40cb7b',
    950: '#000000',
  },
}
SCSS
$custom: #40cb7b;
$custom-light: #86dca2;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb7b",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 123
  },
  "hsl": {
    "h": 145.468,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74882,
    "c": 0.16541,
    "h": 153.7
  },
  "luminance": 0.45232
}

Semantic roles & 50–950 ramp

primary
#40CB7B
secondary
#D295B8
accent
#479FE0
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40CB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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