#40B64D#40B64D

#40B64D is a light, vivid green. Relative luminance 0.351; OKLCH L 68.7% C 0.179 H 145.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#40B64D
RGBrgb(64, 182, 77)
HSLhsl(127, 48%, 48%)
HSVhsv(127, 65%, 71%)
CMYKcmyk(64.8%, 0%, 57.7%, 28.6%)
CIE-LABlab(65.81, -54.34, 43.26)
CIE-LCHlch(65.81, 69.46, 141.48°)
OKLaboklab(68.71% -0.147 0.1026)
OKLCHoklch(68.71% 0.179 145.1)
XYZxyz(20.1806, 35.0797, 12.7273)
Luminance0.3508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B64D #B640A9
analogous
#6EB640 #40B64D #40B688
triadic
#40B64D #4D40B6 #B64D40
tetradic
#40B64D #406EB6 #B640A9 #B68840
square
#40B64D #406EB6 #B640A9 #B68840
split-complementary
#40B64D #8840B6 #B6406E
monochromatic
#205B27 #30893A #40B64D #69CA74 #96DA9E

Accessibility & contrast

On white

2.62
#40B64D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#40B64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B64D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B64D#FFFFFF#000000##000000
##40B64D1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A643
Deuteranopia (green-blind)
#AA9C55
Tritanopia (blue-blind)
#21B19F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b64d;
/* rgb */ color: rgb(64, 182, 77);
/* oklch */ color: oklch(68.7% 0.179 145.1);
Tailwind
colors: {
  custom: {
    50: '#83cd82',
    500: '#40b64d',
    950: '#000000',
  },
}
SCSS
$custom: #40b64d;
$custom-light: #83cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#40b64d",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 77
  },
  "hsl": {
    "h": 126.61,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.6871,
    "c": 0.17926,
    "h": 145.1
  },
  "luminance": 0.35082
}

Semantic roles & 50–950 ramp

primary
#40B64D
secondary
#C68CBF
accent
#50C9D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B64D

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

Preview Lab → · Contrast checker → · Palette generator →

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