#40AA66#40AA66

#40AA66 is a light, vivid green. Relative luminance 0.308; OKLCH L 66.0% C 0.140 H 152.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#40AA66
RGBrgb(64, 170, 102)
HSLhsl(142, 45%, 46%)
HSVhsv(142, 62%, 67%)
CMYKcmyk(62.4%, 0%, 40%, 33.3%)
CIE-LABlab(62.34, -45.89, 26.29)
CIE-LCHlch(62.34, 52.88, 150.19°)
OKLaboklab(65.96% -0.1241 0.0654)
OKLCHoklch(65.96% 0.14 152.2)
XYZxyz(18.8858, 30.7969, 17.5169)
Luminance0.3080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA66 #AA4084
analogous
#4FAA40 #40AA66 #40AA9B
triadic
#40AA66 #6640AA #AA6640
tetradic
#40AA66 #404FAA #AA4084 #AA9B40
square
#40AA66 #404FAA #AA4084 #AA9B40
split-complementary
#40AA66 #9B40AA #AA404F
monochromatic
#1F5131 #2F7E4B #40AA66 #63C486 #8FD5A8

Accessibility & contrast

On white

2.93
#40AA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#40AA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA66
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA66#FFFFFF#000000##000000
##40AA661.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9D61
Deuteranopia (green-blind)
#9C936A
Tritanopia (blue-blind)
#19A899
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40aa66;
/* rgb */ color: rgb(64, 170, 102);
/* oklch */ color: oklch(66.0% 0.140 152.2);
Tailwind
colors: {
  custom: {
    50: '#80c492',
    500: '#40aa66',
    950: '#000000',
  },
}
SCSS
$custom: #40aa66;
$custom-light: #80c492;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa66",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 102
  },
  "hsl": {
    "h": 141.509,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65958,
    "c": 0.14028,
    "h": 152.2
  },
  "luminance": 0.30799
}

Semantic roles & 50–950 ramp

primary
#40AA66
secondary
#C086AB
accent
#53A6D5
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40AA66

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

Preview Lab → · Contrast checker → · Palette generator →

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