#40AF53#40AF53

#40AF53 is a light, vivid green. Relative luminance 0.324; OKLCH L 66.9% C 0.165 H 146.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#40AF53
RGBrgb(64, 175, 83)
HSLhsl(130, 46%, 47%)
HSVhsv(130, 63%, 69%)
CMYKcmyk(63.4%, 0%, 52.6%, 31.4%)
CIE-LABlab(63.65, -50.94, 37.77)
CIE-LCHlch(63.65, 63.42, 143.44°)
OKLaboklab(66.95% -0.1376 0.0909)
OKLCHoklch(66.95% 0.165 146.6)
XYZxyz(19.0044, 32.3726, 13.4289)
Luminance0.3237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF53 #AF409C
analogous
#65AF40 #40AF53 #40AF8B
triadic
#40AF53 #5340AF #AF5340
tetradic
#40AF53 #4065AF #AF409C #AF8B40
square
#40AF53 #4065AF #AF409C #AF8B40
split-complementary
#40AF53 #8B40AF #AF4065
monochromatic
#1F5528 #30823E #40AF53 #65C776 #92D79E

Accessibility & contrast

On white

2.81
#40AF53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#40AF53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF53
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF53#FFFFFF#000000##000000
##40AF531.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04B
Deuteranopia (green-blind)
#A3965A
Tritanopia (blue-blind)
#22AB9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40af53;
/* rgb */ color: rgb(64, 175, 83);
/* oklch */ color: oklch(66.9% 0.165 146.6);
Tailwind
colors: {
  custom: {
    50: '#81c885',
    500: '#40af53',
    950: '#000000',
  },
}
SCSS
$custom: #40af53;
$custom-light: #81c885;
$custom-dark: #000000;
JSON
{
  "hex": "#40af53",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 83
  },
  "hsl": {
    "h": 130.27,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.66949,
    "c": 0.16496,
    "h": 146.6
  },
  "luminance": 0.32374
}

Semantic roles & 50–950 ramp

primary
#40AF53
secondary
#C388B9
accent
#52BFD6
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #40AF53

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

Preview Lab → · Contrast checker → · Palette generator →

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