#40AF64#40AF64

#40AF64 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.2% C 0.149 H 150.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#40AF64
RGBrgb(64, 175, 100)
HSLhsl(139, 46%, 47%)
HSVhsv(139, 63%, 69%)
CMYKcmyk(63.4%, 0%, 42.9%, 31.4%)
CIE-LABlab(63.89, -48.24, 29.38)
CIE-LCHlch(63.89, 56.48, 148.66°)
OKLaboklab(67.23% -0.1303 0.0726)
OKLCHoklch(67.23% 0.149 150.9)
XYZxyz(19.7430, 32.6680, 17.3192)
Luminance0.3267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF64 #AF408B
analogous
#54AF40 #40AF64 #40AF9C
triadic
#40AF64 #6440AF #AF6440
tetradic
#40AF64 #4054AF #AF408B #AF9C40
square
#40AF64 #4054AF #AF408B #AF9C40
split-complementary
#40AF64 #9C40AF #AF4054
monochromatic
#1F5531 #30824A #40AF64 #65C785 #92D7A9

Accessibility & contrast

On white

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

On black

7.53
#40AF64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF64
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF64#FFFFFF#000000##000000
##40AF641.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A15F
Deuteranopia (green-blind)
#A19769
Tritanopia (blue-blind)
#17AC9D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40af64;
/* rgb */ color: rgb(64, 175, 100);
/* oklch */ color: oklch(67.2% 0.149 150.9);
Tailwind
colors: {
  custom: {
    50: '#81c891',
    500: '#40af64',
    950: '#000000',
  },
}
SCSS
$custom: #40af64;
$custom-light: #81c891;
$custom-dark: #000000;
JSON
{
  "hex": "#40af64",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 100
  },
  "hsl": {
    "h": 139.459,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67227,
    "c": 0.14914,
    "h": 150.9
  },
  "luminance": 0.3267
}

Semantic roles & 50–950 ramp

primary
#40AF64
secondary
#C388B0
accent
#52ABD6
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130D
muted
#7C827D

Preview Lab

Preview with #40AF64

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

Preview Lab → · Contrast checker → · Palette generator →

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