#40AC5D#40AC5D

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

Color values

HEX#40AC5D
RGBrgb(64, 172, 93)
HSLhsl(136, 46%, 46%)
HSVhsv(136, 63%, 67%)
CMYKcmyk(62.8%, 0%, 45.9%, 32.5%)
CIE-LABlab(62.83, -48.25, 31.67)
CIE-LCHlch(62.83, 57.71, 146.72°)
OKLaboklab(66.32% -0.1303 0.0776)
OKLCHoklch(66.32% 0.152 149.2)
XYZxyz(18.8413, 31.3835, 15.4185)
Luminance0.3139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC5D #AC408F
analogous
#59AC40 #40AC5D #40AC93
triadic
#40AC5D #5D40AC #AC5D40
tetradic
#40AC5D #4059AC #AC408F #AC9340
square
#40AC5D #4059AC #AC408F #AC9340
split-complementary
#40AC5D #9340AC #AC4059
monochromatic
#1F532D #2F7F45 #40AC5D #64C57E #91D6A3

Accessibility & contrast

On white

2.89
#40AC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AC5D#FFFFFF#000000##000000
##40AC5D1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40ac5d;
/* rgb */ color: rgb(64, 172, 93);
/* oklch */ color: oklch(66.3% 0.152 149.2);
Tailwind
colors: {
  custom: {
    50: '#80c68c',
    500: '#40ac5d',
    950: '#000000',
  },
}
SCSS
$custom: #40ac5d;
$custom-light: #80c68c;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac5d",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 93
  },
  "hsl": {
    "h": 136.111,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66318,
    "c": 0.15166,
    "h": 149.2
  },
  "luminance": 0.31385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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