#40AF76#40AF76

#40AF76 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.6% C 0.132 H 157.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#40AF76
RGBrgb(64, 175, 118)
HSLhsl(149, 46%, 47%)
HSVhsv(149, 63%, 69%)
CMYKcmyk(63.4%, 0%, 32.6%, 31.4%)
CIE-LABlab(64.21, -44.83, 20.18)
CIE-LCHlch(64.21, 49.16, 155.77°)
OKLaboklab(67.59% -0.1219 0.051)
OKLCHoklch(67.59% 0.132 157.3)
XYZxyz(20.7125, 33.0558, 22.4249)
Luminance0.3306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF76 #AF4079
analogous
#42AF40 #40AF76 #40AFAE
triadic
#40AF76 #7640AF #AF7640
tetradic
#40AF76 #4042AF #AF4079 #AFAE40
square
#40AF76 #4042AF #AF4079 #AFAE40
split-complementary
#40AF76 #AE40AF #AF4042
monochromatic
#1F553A #308258 #40AF76 #65C795 #92D7B4

Accessibility & contrast

On white

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

On black

7.61
#40AF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF76
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF76#FFFFFF#000000##000000
##40AF761.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA272
Deuteranopia (green-blind)
#9F977A
Tritanopia (blue-blind)
#00AEA0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40af76;
/* rgb */ color: rgb(64, 175, 118);
/* oklch */ color: oklch(67.6% 0.132 157.3);
Tailwind
colors: {
  custom: {
    50: '#81c89d',
    500: '#40af76',
    950: '#000000',
  },
}
SCSS
$custom: #40af76;
$custom-light: #81c89d;
$custom-dark: #000000;
JSON
{
  "hex": "#40af76",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 118
  },
  "hsl": {
    "h": 149.189,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67589,
    "c": 0.13218,
    "h": 157.3
  },
  "luminance": 0.33058
}

Semantic roles & 50–950 ramp

primary
#40AF76
secondary
#C388A6
accent
#5296D6
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40AF76

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

Preview Lab → · Contrast checker → · Palette generator →

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