#40AC5E#40AC5E

#40AC5E is a light, vivid green. Relative luminance 0.314; OKLCH L 66.3% C 0.151 H 149.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#40AC5E
RGBrgb(64, 172, 94)
HSLhsl(137, 46%, 46%)
HSVhsv(137, 63%, 67%)
CMYKcmyk(62.8%, 0%, 45.3%, 32.5%)
CIE-LABlab(62.84, -48.08, 31.17)
CIE-LCHlch(62.84, 57.30, 147.05°)
OKLaboklab(66.34% -0.1298 0.0765)
OKLCHoklch(66.34% 0.151 149.5)
XYZxyz(18.8859, 31.4013, 15.6533)
Luminance0.3140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC5E #AC408E
analogous
#58AC40 #40AC5E #40AC94
triadic
#40AC5E #5E40AC #AC5E40
tetradic
#40AC5E #4058AC #AC408E #AC9440
square
#40AC5E #4058AC #AC408E #AC9440
split-complementary
#40AC5E #9440AC #AC4058
monochromatic
#1F532D #2F7F46 #40AC5E #64C57F #91D6A4

Accessibility & contrast

On white

2.88
#40AC5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#40AC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC5E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC5E#FFFFFF#000000##000000
##40AC5E1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E58
Deuteranopia (green-blind)
#9F9463
Tritanopia (blue-blind)
#1EA999
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ac5e;
/* rgb */ color: rgb(64, 172, 94);
/* oklch */ color: oklch(66.3% 0.151 149.5);
Tailwind
colors: {
  custom: {
    50: '#80c68d',
    500: '#40ac5e',
    950: '#000000',
  },
}
SCSS
$custom: #40ac5e;
$custom-light: #80c68d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac5e",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 94
  },
  "hsl": {
    "h": 136.667,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66336,
    "c": 0.15071,
    "h": 149.5
  },
  "luminance": 0.31403
}

Semantic roles & 50–950 ramp

primary
#40AC5E
secondary
#C187B1
accent
#52B1D5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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