#40AF60#40AF60

#40AF60 is a light, vivid green. Relative luminance 0.326; OKLCH L 67.2% C 0.153 H 149.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#40AF60
RGBrgb(64, 175, 96)
HSLhsl(137, 46%, 47%)
HSVhsv(137, 63%, 69%)
CMYKcmyk(63.4%, 0%, 45.1%, 31.4%)
CIE-LABlab(63.83, -48.92, 31.39)
CIE-LCHlch(63.83, 58.13, 147.32°)
OKLaboklab(67.16% -0.1321 0.0771)
OKLCHoklch(67.16% 0.153 149.7)
XYZxyz(19.5542, 32.5925, 16.3245)
Luminance0.3259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF60 #AF408F
analogous
#58AF40 #40AF60 #40AF98
triadic
#40AF60 #6040AF #AF6040
tetradic
#40AF60 #4058AF #AF408F #AF9840
square
#40AF60 #4058AF #AF408F #AF9840
split-complementary
#40AF60 #9840AF #AF4058
monochromatic
#1F552F #308247 #40AF60 #65C781 #92D7A6

Accessibility & contrast

On white

2.79
#40AF60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#40AF60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF60
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF60#FFFFFF#000000##000000
##40AF601.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A15A
Deuteranopia (green-blind)
#A29765
Tritanopia (blue-blind)
#1AAC9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40af60;
/* rgb */ color: rgb(64, 175, 96);
/* oklch */ color: oklch(67.2% 0.153 149.7);
Tailwind
colors: {
  custom: {
    50: '#81c88e',
    500: '#40af60',
    950: '#000000',
  },
}
SCSS
$custom: #40af60;
$custom-light: #81c88e;
$custom-dark: #000000;
JSON
{
  "hex": "#40af60",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 96
  },
  "hsl": {
    "h": 137.297,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67156,
    "c": 0.15293,
    "h": 149.7
  },
  "luminance": 0.32594
}

Semantic roles & 50–950 ramp

primary
#40AF60
secondary
#C388B2
accent
#52B0D6
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AF60

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

Preview Lab → · Contrast checker → · Palette generator →

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