#40A562#40A562

#40A562 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.6% C 0.137 H 151.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#40A562
RGBrgb(64, 165, 98)
HSLhsl(140, 44%, 45%)
HSVhsv(140, 61%, 65%)
CMYKcmyk(61.2%, 0%, 40.6%, 35.3%)
CIE-LABlab(60.68, -44.58, 26.24)
CIE-LCHlch(60.68, 51.73, 149.52°)
OKLaboklab(64.57% -0.1206 0.0652)
OKLCHoklch(64.57% 0.137 151.6)
XYZxyz(17.7727, 28.8804, 16.1908)
Luminance0.2888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A562 #A54083
analogous
#50A540 #40A562 #40A595
triadic
#40A562 #6240A5 #A56240
tetradic
#40A562 #4050A5 #A54083 #A59540
square
#40A562 #4050A5 #A54083 #A59540
split-complementary
#40A562 #9540A5 #A54050
monochromatic
#1E4D2E #2F7948 #40A562 #61C281 #8DD3A4

Accessibility & contrast

On white

3.10
#40A562 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#40A562 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A562
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A562#FFFFFF#000000##000000
##40A5621.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6985D
Deuteranopia (green-blind)
#988F66
Tritanopia (blue-blind)
#1FA394
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a562;
/* rgb */ color: rgb(64, 165, 98);
/* oklch */ color: oklch(64.6% 0.137 151.6);
Tailwind
colors: {
  custom: {
    50: '#7fc08f',
    500: '#40a562',
    950: '#000000',
  },
}
SCSS
$custom: #40a562;
$custom-light: #7fc08f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a562",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 98
  },
  "hsl": {
    "h": 140.198,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64573,
    "c": 0.13708,
    "h": 151.6
  },
  "luminance": 0.28882
}

Semantic roles & 50–950 ramp

primary
#40A562
secondary
#BE83AA
accent
#54A9D4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A562

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

Preview Lab → · Contrast checker → · Palette generator →

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