#40AC5F#40AC5F

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

Color values

HEX#40AC5F
RGBrgb(64, 172, 95)
HSLhsl(137, 46%, 46%)
HSVhsv(137, 63%, 67%)
CMYKcmyk(62.8%, 0%, 44.8%, 32.5%)
CIE-LABlab(62.86, -47.91, 30.67)
CIE-LCHlch(62.86, 56.89, 147.38°)
OKLaboklab(66.35% -0.1294 0.0754)
OKLCHoklch(66.35% 0.15 149.8)
XYZxyz(18.9310, 31.4194, 15.8911)
Luminance0.3142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC5F #AC408D
analogous
#57AC40 #40AC5F #40AC95
triadic
#40AC5F #5F40AC #AC5F40
tetradic
#40AC5F #4057AC #AC408D #AC9540
square
#40AC5F #4057AC #AC408D #AC9540
split-complementary
#40AC5F #9540AC #AC4057
monochromatic
#1F532E #2F7F46 #40AC5F #64C580 #91D6A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AC5F#FFFFFF#000000##000000
##40AC5F1.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)
#AD9E59
Deuteranopia (green-blind)
#9F9464
Tritanopia (blue-blind)
#1DA999
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ac5f;
/* rgb */ color: rgb(64, 172, 95);
/* oklch */ color: oklch(66.4% 0.150 149.8);
Tailwind
colors: {
  custom: {
    50: '#80c68d',
    500: '#40ac5f',
    950: '#000000',
  },
}
SCSS
$custom: #40ac5f;
$custom-light: #80c68d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac5f",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 95
  },
  "hsl": {
    "h": 137.222,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66353,
    "c": 0.14976,
    "h": 149.8
  },
  "luminance": 0.31421
}

Semantic roles & 50–950 ramp

primary
#40AC5F
secondary
#C187B0
accent
#52B0D5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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