#40CF7B#40CF7B

#40CF7B is a light, vivid green. Relative luminance 0.471; OKLCH L 75.9% C 0.171 H 153.2°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#40CF7B
RGBrgb(64, 207, 123)
HSLhsl(145, 60%, 53%)
HSVhsv(145, 69%, 81%)
CMYKcmyk(69.1%, 0%, 40.6%, 18.8%)
CIE-LABlab(74.28, -56.45, 31.01)
CIE-LCHlch(74.28, 64.41, 151.22°)
OKLaboklab(75.9% -0.1523 0.077)
OKLCHoklch(75.9% 0.171 153.2)
XYZxyz(27.9999, 47.1426, 26.3588)
Luminance0.4715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF7B #CF4094
analogous
#4CCF40 #40CF7B #40CFC2
triadic
#40CF7B #7B40CF #CF7B40
tetradic
#40CF7B #404CCF #CF4094 #CFC240
square
#40CF7B #404CCF #CF4094 #CFC240
split-complementary
#40CF7B #C240CF #CF404C
monochromatic
#1E7743 #2AA85E #40CF7B #71DB9D #A2E8BF

Accessibility & contrast

On white

2.01
#40CF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#40CF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF7B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF7B#FFFFFF#000000##000000
##40CF7B1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE75
Deuteranopia (green-blind)
#BDB281
Tritanopia (blue-blind)
#00CCBA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40cf7b;
/* rgb */ color: rgb(64, 207, 123);
/* oklch */ color: oklch(75.9% 0.171 153.2);
Tailwind
colors: {
  custom: {
    50: '#86dfa2',
    500: '#40cf7b',
    950: '#000000',
  },
}
SCSS
$custom: #40cf7b;
$custom-light: #86dfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf7b",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 123
  },
  "hsl": {
    "h": 144.755,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75903,
    "c": 0.17065,
    "h": 153.2
  },
  "luminance": 0.47146
}

Semantic roles & 50–950 ramp

primary
#40CF7B
secondary
#D497BB
accent
#45A2E3
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #40CF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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