#40CB6B#40CB6B

#40CB6B is a light, vivid green. Relative luminance 0.449; OKLCH L 74.6% C 0.180 H 149.7°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#40CB6B
RGBrgb(64, 203, 107)
HSLhsl(139, 57%, 52%)
HSVhsv(139, 68%, 80%)
CMYKcmyk(68.5%, 0%, 47.3%, 20.4%)
CIE-LABlab(72.80, -57.68, 37.20)
CIE-LCHlch(72.80, 68.63, 147.18°)
OKLaboklab(74.6% -0.1554 0.0908)
OKLCHoklch(74.6% 0.18 149.7)
XYZxyz(26.1221, 44.8605, 21.1894)
Luminance0.4486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB6B #CB40A0
analogous
#5BCB40 #40CB6B #40CBB1
triadic
#40CB6B #6B40CB #CB6B40
tetradic
#40CB6B #405BCB #CB40A0 #CBB140
square
#40CB6B #405BCB #CB40A0 #CBB140
split-complementary
#40CB6B #B140CB #CB405B
monochromatic
#1F7239 #2CA250 #40CB6B #70D890 #A0E5B6

Accessibility & contrast

On white

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

On black

9.97
#40CB6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB6B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB6B#FFFFFF#000000##000000
##40CB6B1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBA63
Deuteranopia (green-blind)
#BBAE72
Tritanopia (blue-blind)
#00C7B4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cb6b;
/* rgb */ color: rgb(64, 203, 107);
/* oklch */ color: oklch(74.6% 0.180 149.7);
Tailwind
colors: {
  custom: {
    50: '#86dc97',
    500: '#40cb6b',
    950: '#000000',
  },
}
SCSS
$custom: #40cb6b;
$custom-light: #86dc97;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb6b",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 107
  },
  "hsl": {
    "h": 138.561,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74603,
    "c": 0.17997,
    "h": 149.7
  },
  "luminance": 0.44863
}

Semantic roles & 50–950 ramp

primary
#40CB6B
secondary
#D295BF
accent
#47B1E0
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40CB6B

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

Preview Lab → · Contrast checker → · Palette generator →

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