#40D489#40D489

#40D489 is a light, vivid green. Relative luminance 0.500; OKLCH L 77.4% C 0.165 H 156.5°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#40D489
RGBrgb(64, 212, 137)
HSLhsl(150, 63%, 54%)
HSVhsv(150, 70%, 83%)
CMYKcmyk(69.8%, 0%, 35.4%, 16.9%)
CIE-LABlab(76.06, -55.72, 26.14)
CIE-LCHlch(76.06, 61.55, 154.87°)
OKLaboklab(77.44% -0.1509 0.0657)
OKLCHoklch(77.44% 0.165 156.5)
XYZxyz(30.1703, 49.9797, 31.7191)
Luminance0.4998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D489 #D4408B
analogous
#41D440 #40D489 #40D4D3
triadic
#40D489 #8940D4 #D48940
tetradic
#40D489 #4041D4 #D4408B #D4D340
square
#40D489 #4041D4 #D4408B #D4D340
split-complementary
#40D489 #D340D4 #D44041
monochromatic
#1C7D4C #27AF6A #40D489 #72DFA8 #A4EAC7

Accessibility & contrast

On white

1.91
#40D489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#40D489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D489
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D489#FFFFFF#000000##000000
##40D4891.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C384
Deuteranopia (green-blind)
#C0B68E
Tritanopia (blue-blind)
#00D2C1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d489;
/* rgb */ color: rgb(64, 212, 137);
/* oklch */ color: oklch(77.4% 0.165 156.5);
Tailwind
colors: {
  custom: {
    50: '#87e2ac',
    500: '#40d489',
    950: '#000000',
  },
}
SCSS
$custom: #40d489;
$custom-light: #87e2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40d489",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 137
  },
  "hsl": {
    "h": 149.595,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77443,
    "c": 0.16454,
    "h": 156.5
  },
  "luminance": 0.49983
}

Semantic roles & 50–950 ramp

primary
#40D489
secondary
#D798B8
accent
#4295E6
background
#F9FEFA
surface
#F1FCF4
border
#CBD5CE
text
#0D1510
muted
#7E847F

Preview Lab

Preview with #40D489

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

Preview Lab → · Contrast checker → · Palette generator →

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