#40AF57#40AF57

#40AF57 is a light, vivid green. Relative luminance 0.324; OKLCH L 67.0% C 0.161 H 147.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#40AF57
RGBrgb(64, 175, 87)
HSLhsl(132, 46%, 47%)
HSVhsv(132, 63%, 69%)
CMYKcmyk(63.4%, 0%, 50.3%, 31.4%)
CIE-LABlab(63.70, -50.35, 35.84)
CIE-LCHlch(63.70, 61.80, 144.56°)
OKLaboklab(67.01% -0.136 0.0868)
OKLCHoklch(67.01% 0.161 147.4)
XYZxyz(19.1633, 32.4361, 14.2659)
Luminance0.3244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF57 #AF4098
analogous
#61AF40 #40AF57 #40AF8F
triadic
#40AF57 #5740AF #AF5740
tetradic
#40AF57 #4061AF #AF4098 #AF8F40
square
#40AF57 #4061AF #AF4098 #AF8F40
split-complementary
#40AF57 #8F40AF #AF4061
monochromatic
#1F552A #308241 #40AF57 #65C77A #92D7A0

Accessibility & contrast

On white

2.80
#40AF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#40AF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF57
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF57#FFFFFF#000000##000000
##40AF571.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A050
Deuteranopia (green-blind)
#A3965D
Tritanopia (blue-blind)
#20AB9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40af57;
/* rgb */ color: rgb(64, 175, 87);
/* oklch */ color: oklch(67.0% 0.161 147.4);
Tailwind
colors: {
  custom: {
    50: '#81c888',
    500: '#40af57',
    950: '#000000',
  },
}
SCSS
$custom: #40af57;
$custom-light: #81c888;
$custom-dark: #000000;
JSON
{
  "hex": "#40af57",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 87
  },
  "hsl": {
    "h": 132.432,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67009,
    "c": 0.16132,
    "h": 147.4
  },
  "luminance": 0.32438
}

Semantic roles & 50–950 ramp

primary
#40AF57
secondary
#C388B6
accent
#52BBD6
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #40AF57

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

Preview Lab → · Contrast checker → · Palette generator →

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