#40AA57#40AA57

#40AA57 is a light, vivid green. Relative luminance 0.305; OKLCH L 65.7% C 0.155 H 147.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#40AA57
RGBrgb(64, 170, 87)
HSLhsl(133, 45%, 46%)
HSVhsv(133, 62%, 67%)
CMYKcmyk(62.4%, 0%, 48.8%, 33.3%)
CIE-LABlab(62.11, -48.43, 33.85)
CIE-LCHlch(62.11, 59.08, 145.05°)
OKLaboklab(65.69% -0.1308 0.0823)
OKLCHoklch(65.69% 0.155 147.8)
XYZxyz(18.2081, 30.5258, 13.9475)
Luminance0.3053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA57 #AA4093
analogous
#5EAA40 #40AA57 #40AA8C
triadic
#40AA57 #5740AA #AA5740
tetradic
#40AA57 #405EAA #AA4093 #AA8C40
square
#40AA57 #405EAA #AA4093 #AA8C40
split-complementary
#40AA57 #8C40AA #AA405E
monochromatic
#1F5129 #2F7E40 #40AA57 #63C478 #8FD59F

Accessibility & contrast

On white

2.96
#40AA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#40AA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA57
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA57#FFFFFF#000000##000000
##40AA571.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C50
Deuteranopia (green-blind)
#9E925D
Tritanopia (blue-blind)
#23A796
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40aa57;
/* rgb */ color: rgb(64, 170, 87);
/* oklch */ color: oklch(65.7% 0.155 147.8);
Tailwind
colors: {
  custom: {
    50: '#80c488',
    500: '#40aa57',
    950: '#000000',
  },
}
SCSS
$custom: #40aa57;
$custom-light: #80c488;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa57",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 87
  },
  "hsl": {
    "h": 133.019,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65693,
    "c": 0.15457,
    "h": 147.8
  },
  "luminance": 0.30528
}

Semantic roles & 50–950 ramp

primary
#40AA57
secondary
#C086B3
accent
#53B9D5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #40AA57

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

Preview Lab → · Contrast checker → · Palette generator →

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