#40AF74#40AF74

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

Color values

HEX#40AF74
RGBrgb(64, 175, 116)
HSLhsl(148, 46%, 47%)
HSVhsv(148, 63%, 69%)
CMYKcmyk(63.4%, 0%, 33.7%, 31.4%)
CIE-LABlab(64.17, -45.24, 21.21)
CIE-LCHlch(64.17, 49.96, 154.88°)
OKLaboklab(67.55% -0.1229 0.0535)
OKLCHoklch(67.55% 0.134 156.5)
XYZxyz(20.5949, 33.0088, 21.8056)
Luminance0.3301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF74 #AF407B
analogous
#44AF40 #40AF74 #40AFAC
triadic
#40AF74 #7440AF #AF7440
tetradic
#40AF74 #4044AF #AF407B #AFAC40
square
#40AF74 #4044AF #AF407B #AFAC40
split-complementary
#40AF74 #AC40AF #AF4044
monochromatic
#1F5539 #308256 #40AF74 #65C793 #92D7B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AF74#FFFFFF#000000##000000
##40AF741.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)
#AEA270
Deuteranopia (green-blind)
#9F9778
Tritanopia (blue-blind)
#01AEA0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40af74;
/* rgb */ color: rgb(64, 175, 116);
/* oklch */ color: oklch(67.5% 0.134 156.5);
Tailwind
colors: {
  custom: {
    50: '#81c89c',
    500: '#40af74',
    950: '#000000',
  },
}
SCSS
$custom: #40af74;
$custom-light: #81c89c;
$custom-dark: #000000;
JSON
{
  "hex": "#40af74",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 116
  },
  "hsl": {
    "h": 148.108,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67545,
    "c": 0.13402,
    "h": 156.5
  },
  "luminance": 0.33011
}

Semantic roles & 50–950 ramp

primary
#40AF74
secondary
#C388A7
accent
#5298D6
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40AF74

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

Preview Lab → · Contrast checker → · Palette generator →

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