#40C462#40C462

#40C462 is a light, vivid green. Relative luminance 0.415; OKLCH L 72.7% C 0.179 H 148.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#40C462
RGBrgb(64, 196, 98)
HSLhsl(135, 53%, 51%)
HSVhsv(135, 67%, 77%)
CMYKcmyk(67.3%, 0%, 50%, 23.1%)
CIE-LABlab(70.49, -56.52, 38.78)
CIE-LCHlch(70.49, 68.54, 145.55°)
OKLaboklab(72.66% -0.1524 0.094)
OKLCHoklch(72.66% 0.179 148.3)
XYZxyz(24.0571, 41.4491, 18.2856)
Luminance0.4145 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C462 #C440A2
analogous
#60C440 #40C462 #40C4A4
triadic
#40C462 #6240C4 #C46240
tetradic
#40C462 #4060C4 #C440A2 #C4A440
square
#40C462 #4060C4 #C440A2 #C4A440
split-complementary
#40C462 #A440C4 #C44060
monochromatic
#206933 #2F984A #40C462 #6FD288 #9EE1AF

Accessibility & contrast

On white

2.26
#40C462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#40C462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C462
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C462#FFFFFF#000000##000000
##40C4621.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B35A
Deuteranopia (green-blind)
#B6A869
Tritanopia (blue-blind)
#01C0AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c462;
/* rgb */ color: rgb(64, 196, 98);
/* oklch */ color: oklch(72.7% 0.179 148.3);
Tailwind
colors: {
  custom: {
    50: '#85d790',
    500: '#40c462',
    950: '#000000',
  },
}
SCSS
$custom: #40c462;
$custom-light: #85d790;
$custom-dark: #000000;
JSON
{
  "hex": "#40c462",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 135.455,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72656,
    "c": 0.179,
    "h": 148.3
  },
  "luminance": 0.41452
}

Semantic roles & 50–950 ramp

primary
#40C462
secondary
#CD93BE
accent
#4CB7DC
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C462

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

Preview Lab → · Contrast checker → · Palette generator →

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