#40AF63#40AF63

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

Color values

HEX#40AF63
RGBrgb(64, 175, 99)
HSLhsl(139, 46%, 47%)
HSVhsv(139, 63%, 69%)
CMYKcmyk(63.4%, 0%, 43.4%, 31.4%)
CIE-LABlab(63.88, -48.42, 29.88)
CIE-LCHlch(63.88, 56.90, 148.32°)
OKLaboklab(67.21% -0.1307 0.0737)
OKLCHoklch(67.21% 0.15 150.6)
XYZxyz(19.6949, 32.6488, 17.0659)
Luminance0.3265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF63 #AF408C
analogous
#54AF40 #40AF63 #40AF9B
triadic
#40AF63 #6340AF #AF6340
tetradic
#40AF63 #4054AF #AF408C #AF9B40
square
#40AF63 #4054AF #AF408C #AF9B40
split-complementary
#40AF63 #9B40AF #AF4054
monochromatic
#1F5530 #30824A #40AF63 #65C784 #92D7A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AF63#FFFFFF#000000##000000
##40AF631.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)
#B0A15D
Deuteranopia (green-blind)
#A29768
Tritanopia (blue-blind)
#18AC9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40af63;
/* rgb */ color: rgb(64, 175, 99);
/* oklch */ color: oklch(67.2% 0.150 150.6);
Tailwind
colors: {
  custom: {
    50: '#81c890',
    500: '#40af63',
    950: '#000000',
  },
}
SCSS
$custom: #40af63;
$custom-light: #81c890;
$custom-dark: #000000;
JSON
{
  "hex": "#40af63",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 99
  },
  "hsl": {
    "h": 138.919,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67209,
    "c": 0.15009,
    "h": 150.6
  },
  "luminance": 0.32651
}

Semantic roles & 50–950 ramp

primary
#40AF63
secondary
#C388B0
accent
#52ACD6
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AF63

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

Preview Lab → · Contrast checker → · Palette generator →

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