#40CF5B#40CF5B

#40CF5B is a light, vivid green. Relative luminance 0.465; OKLCH L 75.4% C 0.199 H 146.4°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#40CF5B
RGBrgb(64, 207, 91)
HSLhsl(131, 60%, 53%)
HSVhsv(131, 69%, 81%)
CMYKcmyk(69.1%, 0%, 56%, 18.8%)
CIE-LABlab(73.85, -61.40, 46.22)
CIE-LCHlch(73.85, 76.85, 143.03°)
OKLaboklab(75.41% -0.1656 0.11)
OKLCHoklch(75.41% 0.199 146.4)
XYZxyz(26.3136, 46.4681, 17.4780)
Luminance0.4647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF5B #CF40B4
analogous
#6CCF40 #40CF5B #40CFA3
triadic
#40CF5B #5B40CF #CF5B40
tetradic
#40CF5B #406CCF #CF40B4 #CFA340
square
#40CF5B #406CCF #CF40B4 #CFA340
split-complementary
#40CF5B #A340CF #CF406C
monochromatic
#1E772F #2AA842 #40CF5B #71DB85 #A2E8AF

Accessibility & contrast

On white

2.04
#40CF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#40CF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF5B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF5B#FFFFFF#000000##000000
##40CF5B1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD50
Deuteranopia (green-blind)
#C1B164
Tritanopia (blue-blind)
#00CAB5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #40cf5b;
/* rgb */ color: rgb(64, 207, 91);
/* oklch */ color: oklch(75.4% 0.199 146.4);
Tailwind
colors: {
  custom: {
    50: '#87df8c',
    500: '#40cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #40cf5b;
$custom-light: #87df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf5b",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 131.329,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75405,
    "c": 0.19885,
    "h": 146.4
  },
  "luminance": 0.46471
}

Semantic roles & 50–950 ramp

primary
#40CF5B
secondary
#D497C9
accent
#45C5E3
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #40CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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