#40CF6B#40CF6B

#40CF6B is a light, vivid green. Relative luminance 0.468; OKLCH L 75.6% C 0.185 H 149.3°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#40CF6B
RGBrgb(64, 207, 107)
HSLhsl(138, 60%, 53%)
HSVhsv(138, 69%, 81%)
CMYKcmyk(69.1%, 0%, 48.3%, 18.8%)
CIE-LABlab(74.05, -59.12, 38.77)
CIE-LCHlch(74.05, 70.70, 146.74°)
OKLaboklab(75.63% -0.1592 0.0944)
OKLCHoklch(75.63% 0.185 149.3)
XYZxyz(27.0789, 46.7742, 21.5083)
Luminance0.4678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF6B #CF40A4
analogous
#5CCF40 #40CF6B #40CFB2
triadic
#40CF6B #6B40CF #CF6B40
tetradic
#40CF6B #405CCF #CF40A4 #CFB240
square
#40CF6B #405CCF #CF40A4 #CFB240
split-complementary
#40CF6B #B240CF #CF405C
monochromatic
#1E7739 #2AA850 #40CF6B #71DB91 #A2E8B7

Accessibility & contrast

On white

2.03
#40CF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#40CF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF6B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF6B#FFFFFF#000000##000000
##40CF6B1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD63
Deuteranopia (green-blind)
#BFB172
Tritanopia (blue-blind)
#00CBB7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #40cf6b;
/* rgb */ color: rgb(64, 207, 107);
/* oklch */ color: oklch(75.6% 0.185 149.3);
Tailwind
colors: {
  custom: {
    50: '#87df97',
    500: '#40cf6b',
    950: '#000000',
  },
}
SCSS
$custom: #40cf6b;
$custom-light: #87df97;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf6b",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 107
  },
  "hsl": {
    "h": 138.042,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75631,
    "c": 0.1851,
    "h": 149.3
  },
  "luminance": 0.46777
}

Semantic roles & 50–950 ramp

primary
#40CF6B
secondary
#D497C2
accent
#45B3E3
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0D150D
muted
#7D837E

Preview Lab

Preview with #40CF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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