#40A652#40A652

#40A652 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.6% C 0.154 H 146.9°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#40A652
RGBrgb(64, 166, 82)
HSLhsl(131, 44%, 45%)
HSVhsv(131, 61%, 65%)
CMYKcmyk(61.4%, 0%, 50.6%, 34.9%)
CIE-LABlab(60.76, -47.63, 34.71)
CIE-LCHlch(60.76, 58.94, 143.92°)
OKLaboklab(64.56% -0.1288 0.084)
OKLCHoklch(64.56% 0.154 146.9)
XYZxyz(17.2724, 28.9700, 12.6625)
Luminance0.2897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A652 #A64094
analogous
#61A640 #40A652 #40A685
triadic
#40A652 #5240A6 #A65240
tetradic
#40A652 #4061A6 #A64094 #A68540
square
#40A652 #4061A6 #A64094 #A68540
split-complementary
#40A652 #8540A6 #A64061
monochromatic
#1E4E26 #2F7A3C #40A652 #61C272 #8DD39A

Accessibility & contrast

On white

3.09
#40A652 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#40A652 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A652
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A652#FFFFFF#000000##000000
##40A6521.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8984B
Deuteranopia (green-blind)
#9B8F58
Tritanopia (blue-blind)
#27A292
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a652;
/* rgb */ color: rgb(64, 166, 82);
/* oklch */ color: oklch(64.6% 0.154 146.9);
Tailwind
colors: {
  custom: {
    50: '#7fc184',
    500: '#40a652',
    950: '#000000',
  },
}
SCSS
$custom: #40a652;
$custom-light: #7fc184;
$custom-dark: #000000;
JSON
{
  "hex": "#40a652",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 82
  },
  "hsl": {
    "h": 130.588,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64559,
    "c": 0.15376,
    "h": 146.9
  },
  "luminance": 0.28972
}

Semantic roles & 50–950 ramp

primary
#40A652
secondary
#BE84B4
accent
#54BDD4
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A652

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

Preview Lab → · Contrast checker → · Palette generator →

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