#40A462#40A462

#40A462 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.3% C 0.136 H 151.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#40A462
RGBrgb(64, 164, 98)
HSLhsl(140, 44%, 45%)
HSVhsv(140, 61%, 64%)
CMYKcmyk(61%, 0%, 40.2%, 35.7%)
CIE-LABlab(60.36, -44.17, 25.82)
CIE-LCHlch(60.36, 51.17, 149.69°)
OKLaboklab(64.31% -0.1195 0.0642)
OKLCHoklch(64.31% 0.136 151.8)
XYZxyz(17.5931, 28.5210, 16.1309)
Luminance0.2852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A462 #A44082
analogous
#50A440 #40A462 #40A494
triadic
#40A462 #6240A4 #A46240
tetradic
#40A462 #4050A4 #A44082 #A49440
square
#40A462 #4050A4 #A44082 #A49440
split-complementary
#40A462 #9440A4 #A44050
monochromatic
#1E4C2D #2F7848 #40A462 #60C181 #8CD2A4

Accessibility & contrast

On white

3.13
#40A462 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#40A462 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A462
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A462#FFFFFF#000000##000000
##40A4621.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4975D
Deuteranopia (green-blind)
#978E66
Tritanopia (blue-blind)
#1FA294
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a462;
/* rgb */ color: rgb(64, 164, 98);
/* oklch */ color: oklch(64.3% 0.136 151.8);
Tailwind
colors: {
  custom: {
    50: '#7fc08f',
    500: '#40a462',
    950: '#000000',
  },
}
SCSS
$custom: #40a462;
$custom-light: #7fc08f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a462",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 98
  },
  "hsl": {
    "h": 140.4,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6431,
    "c": 0.13566,
    "h": 151.8
  },
  "luminance": 0.28523
}

Semantic roles & 50–950 ramp

primary
#40A462
secondary
#BD83A9
accent
#54A8D4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A462

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

Preview Lab → · Contrast checker → · Palette generator →

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