#40C24F#40C24F

#40C24F is a light, vivid green. Relative luminance 0.402; OKLCH L 71.9% C 0.193 H 145.0°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#40C24F
RGBrgb(64, 194, 79)
HSLhsl(127, 52%, 51%)
HSVhsv(127, 67%, 76%)
CMYKcmyk(67%, 0%, 59.3%, 23.9%)
CIE-LABlab(69.64, -58.38, 46.80)
CIE-LCHlch(69.64, 74.83, 141.28°)
OKLaboklab(71.88% -0.1579 0.1104)
OKLCHoklch(71.88% 0.193 145)
XYZxyz(22.8159, 40.2357, 13.9595)
Luminance0.4024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C24F #C240B3
analogous
#72C240 #40C24F #40C290
triadic
#40C24F #4F40C2 #C24F40
tetradic
#40C24F #4072C2 #C240B3 #C29040
square
#40C24F #4072C2 #C240B3 #C29040
split-complementary
#40C24F #9040C2 #C24072
monochromatic
#216729 #30953B #40C24F #6ED17A #9DE0A4

Accessibility & contrast

On white

2.32
#40C24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#40C24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C24F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C24F#FFFFFF#000000##000000
##40C24F1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B143
Deuteranopia (green-blind)
#B6A658
Tritanopia (blue-blind)
#18BDA9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c24f;
/* rgb */ color: rgb(64, 194, 79);
/* oklch */ color: oklch(71.9% 0.193 145.0);
Tailwind
colors: {
  custom: {
    50: '#85d684',
    500: '#40c24f',
    950: '#000000',
  },
}
SCSS
$custom: #40c24f;
$custom-light: #85d684;
$custom-dark: #000000;
JSON
{
  "hex": "#40c24f",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 126.923,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7188,
    "c": 0.19263,
    "h": 145
  },
  "luminance": 0.40238
}

Semantic roles & 50–950 ramp

primary
#40C24F
secondary
#CC92C5
accent
#4DCBDB
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40C24F

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

Preview Lab → · Contrast checker → · Palette generator →

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