#40AF66#40AF66

#40AF66 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.3% C 0.147 H 151.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#40AF66
RGBrgb(64, 175, 102)
HSLhsl(141, 46%, 47%)
HSVhsv(141, 63%, 69%)
CMYKcmyk(63.4%, 0%, 41.7%, 31.4%)
CIE-LABlab(63.92, -47.89, 28.37)
CIE-LCHlch(63.92, 55.66, 149.36°)
OKLaboklab(67.26% -0.1294 0.0703)
OKLCHoklch(67.26% 0.147 151.5)
XYZxyz(19.8410, 32.7072, 17.8353)
Luminance0.3271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF66 #AF4089
analogous
#51AF40 #40AF66 #40AF9E
triadic
#40AF66 #6640AF #AF6640
tetradic
#40AF66 #4051AF #AF4089 #AF9E40
square
#40AF66 #4051AF #AF4089 #AF9E40
split-complementary
#40AF66 #9E40AF #AF4051
monochromatic
#1F5532 #30824C #40AF66 #65C787 #92D7AA

Accessibility & contrast

On white

2.78
#40AF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#40AF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF66
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF66#FFFFFF#000000##000000
##40AF661.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A161
Deuteranopia (green-blind)
#A1976B
Tritanopia (blue-blind)
#15AC9D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40af66;
/* rgb */ color: rgb(64, 175, 102);
/* oklch */ color: oklch(67.3% 0.147 151.5);
Tailwind
colors: {
  custom: {
    50: '#81c892',
    500: '#40af66',
    950: '#000000',
  },
}
SCSS
$custom: #40af66;
$custom-light: #81c892;
$custom-dark: #000000;
JSON
{
  "hex": "#40af66",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 102
  },
  "hsl": {
    "h": 140.541,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67263,
    "c": 0.14724,
    "h": 151.5
  },
  "luminance": 0.32709
}

Semantic roles & 50–950 ramp

primary
#40AF66
secondary
#C388AF
accent
#52A9D6
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40AF66

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

Preview Lab → · Contrast checker → · Palette generator →

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