#40CC5F#40CC5F

#40CC5F is a light, vivid green. Relative luminance 0.451; OKLCH L 74.7% C 0.192 H 147.2°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#40CC5F
RGBrgb(64, 204, 95)
HSLhsl(133, 58%, 53%)
HSVhsv(133, 69%, 80%)
CMYKcmyk(68.6%, 0%, 53.4%, 20%)
CIE-LABlab(72.96, -59.82, 43.26)
CIE-LCHlch(72.96, 73.82, 144.12°)
OKLaboklab(74.68% -0.1613 0.1038)
OKLCHoklch(74.68% 0.192 147.2)
XYZxyz(25.7709, 45.0991, 18.1711)
Luminance0.4510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC5F #CC40AD
analogous
#67CC40 #40CC5F #40CCA5
triadic
#40CC5F #5F40CC #CC5F40
tetradic
#40CC5F #4067CC #CC40AD #CCA540
square
#40CC5F #4067CC #CC40AD #CCA540
split-complementary
#40CC5F #A540CC #CC4067
monochromatic
#1F7331 #2CA346 #40CC5F #70D987 #A1E6B0

Accessibility & contrast

On white

2.10
#40CC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#40CC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC5F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC5F#FFFFFF#000000##000000
##40CC5F1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA55
Deuteranopia (green-blind)
#BEAE67
Tritanopia (blue-blind)
#00C8B3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cc5f;
/* rgb */ color: rgb(64, 204, 95);
/* oklch */ color: oklch(74.7% 0.192 147.2);
Tailwind
colors: {
  custom: {
    50: '#86dd8f',
    500: '#40cc5f',
    950: '#000000',
  },
}
SCSS
$custom: #40cc5f;
$custom-light: #86dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc5f",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 133.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74683,
    "c": 0.19178,
    "h": 147.2
  },
  "luminance": 0.45102
}

Semantic roles & 50–950 ramp

primary
#40CC5F
secondary
#D295C5
accent
#47BFE1
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #40CC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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