#40C562#40C562

#40C562 is a light, vivid green. Relative luminance 0.419; OKLCH L 72.9% C 0.180 H 148.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#40C562
RGBrgb(64, 197, 98)
HSLhsl(135, 53%, 51%)
HSVhsv(135, 68%, 77%)
CMYKcmyk(67.5%, 0%, 50.3%, 22.7%)
CIE-LABlab(70.80, -56.88, 39.17)
CIE-LCHlch(70.80, 69.06, 145.45°)
OKLaboklab(72.91% -0.1533 0.0949)
OKLCHoklch(72.91% 0.18 148.3)
XYZxyz(24.2834, 41.9017, 18.3610)
Luminance0.4190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C562 #C540A3
analogous
#60C540 #40C562 #40C5A4
triadic
#40C562 #6240C5 #C56240
tetradic
#40C562 #4060C5 #C540A3 #C5A440
square
#40C562 #4060C5 #C540A3 #C5A440
split-complementary
#40C562 #A440C5 #C54060
monochromatic
#206A33 #2F994A #40C562 #6FD389 #9EE2AF

Accessibility & contrast

On white

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

On black

9.38
#40C562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C562
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C562#FFFFFF#000000##000000
##40C5621.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45A
Deuteranopia (green-blind)
#B7A969
Tritanopia (blue-blind)
#00C1AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c562;
/* rgb */ color: rgb(64, 197, 98);
/* oklch */ color: oklch(72.9% 0.180 148.3);
Tailwind
colors: {
  custom: {
    50: '#85d890',
    500: '#40c562',
    950: '#000000',
  },
}
SCSS
$custom: #40c562;
$custom-light: #85d890;
$custom-dark: #000000;
JSON
{
  "hex": "#40c562",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 135.338,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72915,
    "c": 0.18029,
    "h": 148.3
  },
  "luminance": 0.41904
}

Semantic roles & 50–950 ramp

primary
#40C562
secondary
#CE93BF
accent
#4BB8DD
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C562

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

Preview Lab → · Contrast checker → · Palette generator →

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