#40CC7B#40CC7B

#40CC7B is a light, vivid green. Relative luminance 0.457; OKLCH L 75.1% C 0.167 H 153.6°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#40CC7B
RGBrgb(64, 204, 123)
HSLhsl(145, 58%, 53%)
HSVhsv(145, 69%, 80%)
CMYKcmyk(68.6%, 0%, 39.7%, 20%)
CIE-LABlab(73.35, -55.32, 29.79)
CIE-LCHlch(73.35, 62.83, 151.70°)
OKLaboklab(75.14% -0.1493 0.0741)
OKLCHoklch(75.14% 0.167 153.6)
XYZxyz(27.2800, 45.7028, 26.1189)
Luminance0.4571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC7B #CC4091
analogous
#4BCC40 #40CC7B #40CCC1
triadic
#40CC7B #7B40CC #CC7B40
tetradic
#40CC7B #404BCC #CC4091 #CCC140
square
#40CC7B #404BCC #CC4091 #CCC140
split-complementary
#40CC7B #C140CC #CC404B
monochromatic
#1F7342 #2CA35E #40CC7B #70D99C #A1E6BE

Accessibility & contrast

On white

2.07
#40CC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#40CC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC7B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC7B#FFFFFF#000000##000000
##40CC7B1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC75
Deuteranopia (green-blind)
#BAAF80
Tritanopia (blue-blind)
#00C9B8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40cc7b;
/* rgb */ color: rgb(64, 204, 123);
/* oklch */ color: oklch(75.1% 0.167 153.6);
Tailwind
colors: {
  custom: {
    50: '#86dda2',
    500: '#40cc7b',
    950: '#000000',
  },
}
SCSS
$custom: #40cc7b;
$custom-light: #86dda2;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc7b",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 123
  },
  "hsl": {
    "h": 145.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75138,
    "c": 0.16673,
    "h": 153.6
  },
  "luminance": 0.45706
}

Semantic roles & 50–950 ramp

primary
#40CC7B
secondary
#D295B9
accent
#47A0E1
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40CC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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