#40CF5F#40CF5F

#40CF5F is a light, vivid green. Relative luminance 0.465; OKLCH L 75.5% C 0.196 H 147.1°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#40CF5F
RGBrgb(64, 207, 95)
HSLhsl(133, 60%, 53%)
HSVhsv(133, 69%, 81%)
CMYKcmyk(69.1%, 0%, 54.1%, 18.8%)
CIE-LABlab(73.89, -60.87, 44.39)
CIE-LCHlch(73.89, 75.34, 143.90°)
OKLaboklab(75.46% -0.1641 0.1063)
OKLCHoklch(75.46% 0.196 147.1)
XYZxyz(26.4908, 46.5390, 18.4111)
Luminance0.4654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF5F #CF40B0
analogous
#68CF40 #40CF5F #40CFA6
triadic
#40CF5F #5F40CF #CF5F40
tetradic
#40CF5F #4068CF #CF40B0 #CFA640
square
#40CF5F #4068CF #CF40B0 #CFA640
split-complementary
#40CF5F #A640CF #CF4068
monochromatic
#1E7731 #2AA845 #40CF5F #71DB88 #A2E8B1

Accessibility & contrast

On white

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

On black

10.31
#40CF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF5F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF5F#FFFFFF#000000##000000
##40CF5F1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD55
Deuteranopia (green-blind)
#C0B168
Tritanopia (blue-blind)
#00CAB6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #40cf5f;
/* rgb */ color: rgb(64, 207, 95);
/* oklch */ color: oklch(75.5% 0.196 147.1);
Tailwind
colors: {
  custom: {
    50: '#87df8f',
    500: '#40cf5f',
    950: '#000000',
  },
}
SCSS
$custom: #40cf5f;
$custom-light: #87df8f;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf5f",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 133.007,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75457,
    "c": 0.19551,
    "h": 147.1
  },
  "luminance": 0.46542
}

Semantic roles & 50–950 ramp

primary
#40CF5F
secondary
#D497C7
accent
#45C1E3
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150D
muted
#7E837D

Preview Lab

Preview with #40CF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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