#40AA52#40AA52

#40AA52 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.6% C 0.159 H 146.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#40AA52
RGBrgb(64, 170, 82)
HSLhsl(130, 45%, 46%)
HSVhsv(130, 62%, 67%)
CMYKcmyk(62.4%, 0%, 51.8%, 33.3%)
CIE-LABlab(62.04, -49.18, 36.30)
CIE-LCHlch(62.04, 61.12, 143.57°)
OKLaboklab(65.62% -0.1329 0.0876)
OKLCHoklch(65.62% 0.159 146.6)
XYZxyz(18.0109, 30.4469, 12.9087)
Luminance0.3045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA52 #AA4098
analogous
#63AA40 #40AA52 #40AA87
triadic
#40AA52 #5240AA #AA5240
tetradic
#40AA52 #4063AA #AA4098 #AA8740
square
#40AA52 #4063AA #AA4098 #AA8740
split-complementary
#40AA52 #8740AA #AA4063
monochromatic
#1F5127 #2F7E3D #40AA52 #63C473 #8FD59B

Accessibility & contrast

On white

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

On black

7.09
#40AA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA52
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA52#FFFFFF#000000##000000
##40AA521.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C4A
Deuteranopia (green-blind)
#9F9258
Tritanopia (blue-blind)
#25A696
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40aa52;
/* rgb */ color: rgb(64, 170, 82);
/* oklch */ color: oklch(65.6% 0.159 146.6);
Tailwind
colors: {
  custom: {
    50: '#80c484',
    500: '#40aa52',
    950: '#000000',
  },
}
SCSS
$custom: #40aa52;
$custom-light: #80c484;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa52",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 82
  },
  "hsl": {
    "h": 130.189,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65616,
    "c": 0.15918,
    "h": 146.6
  },
  "luminance": 0.30449
}

Semantic roles & 50–950 ramp

primary
#40AA52
secondary
#C086B6
accent
#53BFD5
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #40AA52

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

Preview Lab → · Contrast checker → · Palette generator →

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