#40AC66#40AC66

#40AC66 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.5% C 0.143 H 151.9°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#40AC66
RGBrgb(64, 172, 102)
HSLhsl(141, 46%, 46%)
HSVhsv(141, 63%, 67%)
CMYKcmyk(62.8%, 0%, 40.7%, 32.5%)
CIE-LABlab(62.97, -46.69, 27.12)
CIE-LCHlch(62.97, 54.00, 149.85°)
OKLaboklab(66.48% -0.1262 0.0674)
OKLCHoklch(66.48% 0.143 151.9)
XYZxyz(19.2636, 31.5524, 17.6428)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC66 #AC4086
analogous
#50AC40 #40AC66 #40AC9C
triadic
#40AC66 #6640AC #AC6640
tetradic
#40AC66 #4050AC #AC4086 #AC9C40
square
#40AC66 #4050AC #AC4086 #AC9C40
split-complementary
#40AC66 #9C40AC #AC4050
monochromatic
#1F5331 #2F7F4C #40AC66 #64C586 #91D6A9

Accessibility & contrast

On white

2.87
#40AC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#40AC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC66
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC66#FFFFFF#000000##000000
##40AC661.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E61
Deuteranopia (green-blind)
#9E946B
Tritanopia (blue-blind)
#18AA9B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ac66;
/* rgb */ color: rgb(64, 172, 102);
/* oklch */ color: oklch(66.5% 0.143 151.9);
Tailwind
colors: {
  custom: {
    50: '#80c592',
    500: '#40ac66',
    950: '#000000',
  },
}
SCSS
$custom: #40ac66;
$custom-light: #80c592;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac66",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 102
  },
  "hsl": {
    "h": 141.111,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66481,
    "c": 0.14308,
    "h": 151.9
  },
  "luminance": 0.31554
}

Semantic roles & 50–950 ramp

primary
#40AC66
secondary
#C187AD
accent
#52A7D5
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40AC66

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

Preview Lab → · Contrast checker → · Palette generator →

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