#40DF42#40DF42

#40DF42 is a light, highly saturated green. Relative luminance 0.543; OKLCH L 79.3% C 0.235 H 143.1°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#40DF42
RGBrgb(64, 223, 66)
HSLhsl(121, 71%, 56%)
HSVhsv(121, 71%, 87%)
CMYKcmyk(71.3%, 0%, 70.4%, 12.5%)
CIE-LABlab(78.61, -69.34, 62.00)
CIE-LCHlch(78.61, 93.02, 138.19°)
OKLaboklab(79.28% -0.1881 0.1412)
OKLCHoklch(79.28% 0.235 143.1)
XYZxyz(29.4836, 54.2554, 14.0717)
Luminance0.5426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DF42 #DF40DD
analogous
#8EDF40 #40DF42 #40DF92
triadic
#40DF42 #4240DF #DF4240
tetradic
#40DF42 #408EDF #DF40DD #DF9240
square
#40DF42 #408EDF #DF40DD #DF9240
split-complementary
#40DF42 #9240DF #DF408E
monochromatic
#188D19 #20C122 #40DF42 #74E876 #A9F1AA

Accessibility & contrast

On white

1.77
#40DF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#40DF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DF42
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DF42#FFFFFF#000000##000000
##40DF421.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA28
Deuteranopia (green-blind)
#D2BE52
Tritanopia (blue-blind)
#00D9C0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #40df42;
/* rgb */ color: rgb(64, 223, 66);
/* oklch */ color: oklch(79.3% 0.235 143.1);
Tailwind
colors: {
  custom: {
    50: '#8bea7f',
    500: '#40df42',
    950: '#000000',
  },
}
SCSS
$custom: #40df42;
$custom-light: #8bea7f;
$custom-dark: #000000;
JSON
{
  "hex": "#40df42",
  "rgb": {
    "r": 64,
    "g": 223,
    "b": 66
  },
  "hsl": {
    "h": 120.755,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79279,
    "c": 0.23526,
    "h": 143.1
  },
  "luminance": 0.54259
}

Semantic roles & 50–950 ramp

primary
#40DF42
secondary
#923191
accent
#3AECEE
background
#FCFFFB
surface
#F5FEF2
border
#CFD6CC
text
#0E160B
muted
#7F857E

Preview Lab

Preview with #40DF42

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

Preview Lab → · Contrast checker → · Palette generator →

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