#40AF69#40AF69

#40AF69 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.3% C 0.144 H 152.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#40AF69
RGBrgb(64, 175, 105)
HSLhsl(142, 46%, 47%)
HSVhsv(142, 63%, 69%)
CMYKcmyk(63.4%, 0%, 40%, 31.4%)
CIE-LABlab(63.97, -47.35, 26.85)
CIE-LCHlch(63.97, 54.43, 150.45°)
OKLaboklab(67.32% -0.128 0.0668)
OKLCHoklch(67.32% 0.144 152.5)
XYZxyz(19.9925, 32.7678, 18.6331)
Luminance0.3277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF69 #AF4086
analogous
#4FAF40 #40AF69 #40AFA1
triadic
#40AF69 #6940AF #AF6940
tetradic
#40AF69 #404FAF #AF4086 #AFA140
square
#40AF69 #404FAF #AF4086 #AFA140
split-complementary
#40AF69 #A140AF #AF404F
monochromatic
#1F5533 #30824E #40AF69 #65C789 #92D7AC

Accessibility & contrast

On white

2.78
#40AF69 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#40AF69 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF69
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF69#FFFFFF#000000##000000
##40AF691.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA164
Deuteranopia (green-blind)
#A1976E
Tritanopia (blue-blind)
#12AD9E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40af69;
/* rgb */ color: rgb(64, 175, 105);
/* oklch */ color: oklch(67.3% 0.144 152.5);
Tailwind
colors: {
  custom: {
    50: '#81c894',
    500: '#40af69',
    950: '#000000',
  },
}
SCSS
$custom: #40af69;
$custom-light: #81c894;
$custom-dark: #000000;
JSON
{
  "hex": "#40af69",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 105
  },
  "hsl": {
    "h": 142.162,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.6732,
    "c": 0.14439,
    "h": 152.5
  },
  "luminance": 0.3277
}

Semantic roles & 50–950 ramp

primary
#40AF69
secondary
#C388AD
accent
#52A5D6
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40AF69

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

Preview Lab → · Contrast checker → · Palette generator →

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