#40C55E#40C55E

#40C55E is a light, vivid green. Relative luminance 0.418; OKLCH L 72.9% C 0.184 H 147.5°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#40C55E
RGBrgb(64, 197, 94)
HSLhsl(134, 53%, 51%)
HSVhsv(134, 68%, 77%)
CMYKcmyk(67.5%, 0%, 52.3%, 22.7%)
CIE-LABlab(70.75, -57.47, 41.06)
CIE-LCHlch(70.75, 70.63, 144.46°)
OKLaboklab(72.86% -0.155 0.0989)
OKLCHoklch(72.86% 0.184 147.5)
XYZxyz(24.0992, 41.8281, 17.3911)
Luminance0.4183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C55E #C540A7
analogous
#64C540 #40C55E #40C5A0
triadic
#40C55E #5E40C5 #C55E40
tetradic
#40C55E #4064C5 #C540A7 #C5A040
square
#40C55E #4064C5 #C540A7 #C5A040
split-complementary
#40C55E #A040C5 #C54064
monochromatic
#206A31 #2F9947 #40C55E #6FD386 #9EE2AD

Accessibility & contrast

On white

2.24
#40C55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#40C55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C55E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C55E#FFFFFF#000000##000000
##40C55E1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B455
Deuteranopia (green-blind)
#B7A966
Tritanopia (blue-blind)
#05C1AD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c55e;
/* rgb */ color: rgb(64, 197, 94);
/* oklch */ color: oklch(72.9% 0.184 147.5);
Tailwind
colors: {
  custom: {
    50: '#85d88e',
    500: '#40c55e',
    950: '#000000',
  },
}
SCSS
$custom: #40c55e;
$custom-light: #85d88e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c55e",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 94
  },
  "hsl": {
    "h": 133.534,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72857,
    "c": 0.18381,
    "h": 147.5
  },
  "luminance": 0.41831
}

Semantic roles & 50–950 ramp

primary
#40C55E
secondary
#CE93C1
accent
#4BBCDD
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #40C55E

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

Preview Lab → · Contrast checker → · Palette generator →

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