#40AF73#40AF73

#40AF73 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.5% C 0.135 H 156.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#40AF73
RGBrgb(64, 175, 115)
HSLhsl(148, 46%, 47%)
HSVhsv(148, 63%, 69%)
CMYKcmyk(63.4%, 0%, 34.3%, 31.4%)
CIE-LABlab(64.15, -45.44, 21.72)
CIE-LCHlch(64.15, 50.36, 154.45°)
OKLaboklab(67.52% -0.1234 0.0547)
OKLCHoklch(67.52% 0.135 156.1)
XYZxyz(20.5370, 32.9856, 21.5009)
Luminance0.3299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF73 #AF407C
analogous
#44AF40 #40AF73 #40AFAB
triadic
#40AF73 #7340AF #AF7340
tetradic
#40AF73 #4044AF #AF407C #AFAB40
square
#40AF73 #4044AF #AF407C #AFAB40
split-complementary
#40AF73 #AB40AF #AF4044
monochromatic
#1F5538 #308256 #40AF73 #65C792 #92D7B2

Accessibility & contrast

On white

2.76
#40AF73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#40AF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF73
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF73#FFFFFF#000000##000000
##40AF731.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA26F
Deuteranopia (green-blind)
#9F9777
Tritanopia (blue-blind)
#03AD9F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40af73;
/* rgb */ color: rgb(64, 175, 115);
/* oklch */ color: oklch(67.5% 0.135 156.1);
Tailwind
colors: {
  custom: {
    50: '#81c89b',
    500: '#40af73',
    950: '#000000',
  },
}
SCSS
$custom: #40af73;
$custom-light: #81c89b;
$custom-dark: #000000;
JSON
{
  "hex": "#40af73",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 115
  },
  "hsl": {
    "h": 147.568,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67523,
    "c": 0.13495,
    "h": 156.1
  },
  "luminance": 0.32988
}

Semantic roles & 50–950 ramp

primary
#40AF73
secondary
#C388A8
accent
#5299D6
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40AF73

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

Preview Lab → · Contrast checker → · Palette generator →

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