#40A552#40A552

#40A552 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.3% C 0.152 H 146.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#40A552
RGBrgb(64, 165, 82)
HSLhsl(131, 44%, 45%)
HSVhsv(131, 61%, 65%)
CMYKcmyk(61.2%, 0%, 50.3%, 35.3%)
CIE-LABlab(60.43, -47.24, 34.32)
CIE-LCHlch(60.43, 58.39, 144.01°)
OKLaboklab(64.3% -0.1277 0.0831)
OKLCHoklch(64.3% 0.152 146.9)
XYZxyz(17.0913, 28.6078, 12.6022)
Luminance0.2861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A552 #A54093
analogous
#61A540 #40A552 #40A585
triadic
#40A552 #5240A5 #A55240
tetradic
#40A552 #4061A5 #A54093 #A58540
square
#40A552 #4061A5 #A54093 #A58540
split-complementary
#40A552 #8540A5 #A54061
monochromatic
#1E4D26 #2F793C #40A552 #61C272 #8DD399

Accessibility & contrast

On white

3.12
#40A552 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#40A552 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A552
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A552#FFFFFF#000000##000000
##40A5521.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7974B
Deuteranopia (green-blind)
#9A8E58
Tritanopia (blue-blind)
#27A192
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a552;
/* rgb */ color: rgb(64, 165, 82);
/* oklch */ color: oklch(64.3% 0.152 146.9);
Tailwind
colors: {
  custom: {
    50: '#7fc084',
    500: '#40a552',
    950: '#000000',
  },
}
SCSS
$custom: #40a552;
$custom-light: #7fc084;
$custom-dark: #000000;
JSON
{
  "hex": "#40a552",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 82
  },
  "hsl": {
    "h": 130.693,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64295,
    "c": 0.15239,
    "h": 146.9
  },
  "luminance": 0.28609
}

Semantic roles & 50–950 ramp

primary
#40A552
secondary
#BE83B3
accent
#54BDD4
background
#F8FBF8
surface
#EFF7EF
border
#CAD0CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A552

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

Preview Lab → · Contrast checker → · Palette generator →

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