#40AC52#40AC52

#40AC52 is a light, vivid green. Relative luminance 0.312; OKLCH L 66.1% C 0.162 H 146.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#40AC52
RGBrgb(64, 172, 82)
HSLhsl(130, 46%, 46%)
HSVhsv(130, 63%, 67%)
CMYKcmyk(62.8%, 0%, 52.3%, 32.5%)
CIE-LABlab(62.68, -49.95, 37.08)
CIE-LCHlch(62.68, 62.21, 143.41°)
OKLaboklab(66.14% -0.135 0.0893)
OKLCHoklch(66.14% 0.162 146.5)
XYZxyz(18.3886, 31.2024, 13.0346)
Luminance0.3120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC52 #AC409A
analogous
#64AC40 #40AC52 #40AC88
triadic
#40AC52 #5240AC #AC5240
tetradic
#40AC52 #4064AC #AC409A #AC8840
square
#40AC52 #4064AC #AC409A #AC8840
split-complementary
#40AC52 #8840AC #AC4064
monochromatic
#1F5327 #2F7F3D #40AC52 #64C574 #91D69C

Accessibility & contrast

On white

2.90
#40AC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#40AC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC52
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC52#FFFFFF#000000##000000
##40AC521.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4A
Deuteranopia (green-blind)
#A19459
Tritanopia (blue-blind)
#24A897
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ac52;
/* rgb */ color: rgb(64, 172, 82);
/* oklch */ color: oklch(66.1% 0.162 146.5);
Tailwind
colors: {
  custom: {
    50: '#81c684',
    500: '#40ac52',
    950: '#000000',
  },
}
SCSS
$custom: #40ac52;
$custom-light: #81c684;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac52",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 130,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66144,
    "c": 0.16187,
    "h": 146.5
  },
  "luminance": 0.31204
}

Semantic roles & 50–950 ramp

primary
#40AC52
secondary
#C187B7
accent
#52C0D5
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #40AC52

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

Preview Lab → · Contrast checker → · Palette generator →

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