#40D465#40D465

#40D465 is a light, vivid green. Relative luminance 0.491; OKLCH L 76.8% C 0.197 H 147.8°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#40D465
RGBrgb(64, 212, 101)
HSLhsl(135, 63%, 54%)
HSVhsv(135, 70%, 83%)
CMYKcmyk(69.8%, 0%, 52.4%, 16.9%)
CIE-LABlab(75.52, -61.78, 43.52)
CIE-LCHlch(75.52, 75.57, 144.84°)
OKLaboklab(76.83% -0.1664 0.1047)
OKLCHoklch(76.83% 0.197 147.8)
XYZxyz(28.0047, 49.1134, 20.3133)
Luminance0.4912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D465 #D440AF
analogous
#65D440 #40D465 #40D4AF
triadic
#40D465 #6540D4 #D46540
tetradic
#40D465 #4065D4 #D440AF #D4AF40
square
#40D465 #4065D4 #D440AF #D4AF40
split-complementary
#40D465 #AF40D4 #D44065
monochromatic
#1C7D35 #27AF49 #40D465 #72DF8D #A4EAB6

Accessibility & contrast

On white

1.94
#40D465 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#40D465 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D465
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D465#FFFFFF#000000##000000
##40D4651.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C25B
Deuteranopia (green-blind)
#C5B56D
Tritanopia (blue-blind)
#00D0BB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d465;
/* rgb */ color: rgb(64, 212, 101);
/* oklch */ color: oklch(76.8% 0.197 147.8);
Tailwind
colors: {
  custom: {
    50: '#88e293',
    500: '#40d465',
    950: '#000000',
  },
}
SCSS
$custom: #40d465;
$custom-light: #88e293;
$custom-dark: #000000;
JSON
{
  "hex": "#40d465",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 101
  },
  "hsl": {
    "h": 135,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76827,
    "c": 0.19662,
    "h": 147.8
  },
  "luminance": 0.49117
}

Semantic roles & 50–950 ramp

primary
#40D465
secondary
#D798C8
accent
#42BDE6
background
#F9FEF9
surface
#F1FCF1
border
#CBD5CB
text
#0D150D
muted
#7E847E

Preview Lab

Preview with #40D465

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

Preview Lab → · Contrast checker → · Palette generator →

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