#40AC59#40AC59

#40AC59 is a light, vivid green. Relative luminance 0.313; OKLCH L 66.3% C 0.155 H 148.2°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#40AC59
RGBrgb(64, 172, 89)
HSLhsl(134, 46%, 46%)
HSVhsv(134, 63%, 67%)
CMYKcmyk(62.8%, 0%, 48.3%, 32.5%)
CIE-LABlab(62.77, -48.89, 33.66)
CIE-LCHlch(62.77, 59.36, 145.46°)
OKLaboklab(66.25% -0.132 0.082)
OKLCHoklch(66.25% 0.155 148.2)
XYZxyz(18.6687, 31.3145, 14.5097)
Luminance0.3132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC59 #AC4093
analogous
#5DAC40 #40AC59 #40AC8F
triadic
#40AC59 #5940AC #AC5940
tetradic
#40AC59 #405DAC #AC4093 #AC8F40
square
#40AC59 #405DAC #AC4093 #AC8F40
split-complementary
#40AC59 #8F40AC #AC405D
monochromatic
#1F532B #2F7F42 #40AC59 #64C57A #91D6A1

Accessibility & contrast

On white

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

On black

7.26
#40AC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC59
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC59#FFFFFF#000000##000000
##40AC591.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E52
Deuteranopia (green-blind)
#A0945F
Tritanopia (blue-blind)
#21A998
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ac59;
/* rgb */ color: rgb(64, 172, 89);
/* oklch */ color: oklch(66.3% 0.155 148.2);
Tailwind
colors: {
  custom: {
    50: '#80c689',
    500: '#40ac59',
    950: '#000000',
  },
}
SCSS
$custom: #40ac59;
$custom-light: #80c689;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac59",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 89
  },
  "hsl": {
    "h": 133.889,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66252,
    "c": 0.15542,
    "h": 148.2
  },
  "luminance": 0.31316
}

Semantic roles & 50–950 ramp

primary
#40AC59
secondary
#C187B4
accent
#52B7D5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AC59

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

Preview Lab → · Contrast checker → · Palette generator →

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