#40AC6D#40AC6D

#40AC6D is a light, vivid green. Relative luminance 0.317; OKLCH L 66.6% C 0.136 H 154.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#40AC6D
RGBrgb(64, 172, 109)
HSLhsl(145, 46%, 46%)
HSVhsv(145, 63%, 67%)
CMYKcmyk(62.8%, 0%, 36.6%, 32.5%)
CIE-LABlab(63.09, -45.39, 23.54)
CIE-LCHlch(63.09, 51.13, 152.59°)
OKLaboklab(66.62% -0.123 0.059)
OKLCHoklch(66.62% 0.136 154.4)
XYZxyz(19.6255, 31.6972, 19.5489)
Luminance0.3170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC6D #AC407F
analogous
#49AC40 #40AC6D #40ACA3
triadic
#40AC6D #6D40AC #AC6D40
tetradic
#40AC6D #4049AC #AC407F #ACA340
square
#40AC6D #4049AC #AC407F #ACA340
split-complementary
#40AC6D #A340AC #AC4049
monochromatic
#1F5334 #2F7F51 #40AC6D #64C58C #91D6AD

Accessibility & contrast

On white

2.86
#40AC6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#40AC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC6D
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC6D#FFFFFF#000000##000000
##40AC6D1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9F69
Deuteranopia (green-blind)
#9D9571
Tritanopia (blue-blind)
#10AA9C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40ac6d;
/* rgb */ color: rgb(64, 172, 109);
/* oklch */ color: oklch(66.6% 0.136 154.4);
Tailwind
colors: {
  custom: {
    50: '#80c597',
    500: '#40ac6d',
    950: '#000000',
  },
}
SCSS
$custom: #40ac6d;
$custom-light: #80c597;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac6d",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 109
  },
  "hsl": {
    "h": 145,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66619,
    "c": 0.13641,
    "h": 154.4
  },
  "luminance": 0.31699
}

Semantic roles & 50–950 ramp

primary
#40AC6D
secondary
#C187A9
accent
#529FD5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40AC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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