#40AF55#40AF55

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

Color values

HEX#40AF55
RGBrgb(64, 175, 85)
HSLhsl(131, 46%, 47%)
HSVhsv(131, 63%, 69%)
CMYKcmyk(63.4%, 0%, 51.4%, 31.4%)
CIE-LABlab(63.68, -50.65, 36.81)
CIE-LCHlch(63.68, 62.61, 143.99°)
OKLaboklab(66.98% -0.1368 0.0889)
OKLCHoklch(66.98% 0.163 147)
XYZxyz(19.0827, 32.4039, 13.8415)
Luminance0.3241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF55 #AF409A
analogous
#63AF40 #40AF55 #40AF8D
triadic
#40AF55 #5540AF #AF5540
tetradic
#40AF55 #4063AF #AF409A #AF8D40
square
#40AF55 #4063AF #AF409A #AF8D40
split-complementary
#40AF55 #8D40AF #AF4063
monochromatic
#1F5529 #30823F #40AF55 #65C778 #92D79F

Accessibility & contrast

On white

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

On black

7.48
#40AF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF55
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF55#FFFFFF#000000##000000
##40AF551.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04D
Deuteranopia (green-blind)
#A3965C
Tritanopia (blue-blind)
#21AB9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40af55;
/* rgb */ color: rgb(64, 175, 85);
/* oklch */ color: oklch(67.0% 0.163 147.0);
Tailwind
colors: {
  custom: {
    50: '#81c887',
    500: '#40af55',
    950: '#000000',
  },
}
SCSS
$custom: #40af55;
$custom-light: #81c887;
$custom-dark: #000000;
JSON
{
  "hex": "#40af55",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 85
  },
  "hsl": {
    "h": 131.351,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.66979,
    "c": 0.16315,
    "h": 147
  },
  "luminance": 0.32406
}

Semantic roles & 50–950 ramp

primary
#40AF55
secondary
#C388B8
accent
#52BDD6
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #40AF55

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

Preview Lab → · Contrast checker → · Palette generator →

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