#40D479#40D479

#40D479 is a light, vivid green. Relative luminance 0.496; OKLCH L 77.1% C 0.179 H 152.0°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#40D479
RGBrgb(64, 212, 121)
HSLhsl(143, 63%, 54%)
HSVhsv(143, 70%, 83%)
CMYKcmyk(69.8%, 0%, 42.9%, 16.9%)
CIE-LABlab(75.79, -58.65, 34.00)
CIE-LCHlch(75.79, 67.79, 149.90°)
OKLaboklab(77.14% -0.158 0.084)
OKLCHoklch(77.14% 0.179 152)
XYZxyz(29.1065, 49.5542, 26.1164)
Luminance0.4956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D479 #D4409B
analogous
#51D440 #40D479 #40D4C3
triadic
#40D479 #7940D4 #D47940
tetradic
#40D479 #4051D4 #D4409B #D4C340
square
#40D479 #4051D4 #D4409B #D4C340
split-complementary
#40D479 #C340D4 #D44051
monochromatic
#1C7D42 #27AF5C #40D479 #72DF9C #A4EABF

Accessibility & contrast

On white

1.92
#40D479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#40D479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D479
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D479#FFFFFF#000000##000000
##40D4791.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C272
Deuteranopia (green-blind)
#C2B67F
Tritanopia (blue-blind)
#00D1BE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d479;
/* rgb */ color: rgb(64, 212, 121);
/* oklch */ color: oklch(77.1% 0.179 152.0);
Tailwind
colors: {
  custom: {
    50: '#87e2a1',
    500: '#40d479',
    950: '#000000',
  },
}
SCSS
$custom: #40d479;
$custom-light: #87e2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40d479",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 121
  },
  "hsl": {
    "h": 143.108,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77141,
    "c": 0.17894,
    "h": 152
  },
  "luminance": 0.49557
}

Semantic roles & 50–950 ramp

primary
#40D479
secondary
#D798BF
accent
#42A7E6
background
#F9FEF9
surface
#F1FCF2
border
#CBD5CC
text
#0D150F
muted
#7E847E

Preview Lab

Preview with #40D479

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

Preview Lab → · Contrast checker → · Palette generator →

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