#40AF75#40AF75

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

Color values

HEX#40AF75
RGBrgb(64, 175, 117)
HSLhsl(149, 46%, 47%)
HSVhsv(149, 63%, 69%)
CMYKcmyk(63.4%, 0%, 33.1%, 31.4%)
CIE-LABlab(64.19, -45.03, 20.69)
CIE-LCHlch(64.19, 49.56, 155.32°)
OKLaboklab(67.57% -0.1224 0.0522)
OKLCHoklch(67.57% 0.133 156.9)
XYZxyz(20.6534, 33.0322, 22.1136)
Luminance0.3303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF75 #AF407A
analogous
#42AF40 #40AF75 #40AFAD
triadic
#40AF75 #7540AF #AF7540
tetradic
#40AF75 #4042AF #AF407A #AFAD40
square
#40AF75 #4042AF #AF407A #AFAD40
split-complementary
#40AF75 #AD40AF #AF4042
monochromatic
#1F5539 #308257 #40AF75 #65C794 #92D7B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AF75#FFFFFF#000000##000000
##40AF751.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)
#AEA271
Deuteranopia (green-blind)
#9F9779
Tritanopia (blue-blind)
#00AEA0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40af75;
/* rgb */ color: rgb(64, 175, 117);
/* oklch */ color: oklch(67.6% 0.133 156.9);
Tailwind
colors: {
  custom: {
    50: '#81c89d',
    500: '#40af75',
    950: '#000000',
  },
}
SCSS
$custom: #40af75;
$custom-light: #81c89d;
$custom-dark: #000000;
JSON
{
  "hex": "#40af75",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 117
  },
  "hsl": {
    "h": 148.649,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67567,
    "c": 0.1331,
    "h": 156.9
  },
  "luminance": 0.33034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AF75

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

Preview Lab → · Contrast checker → · Palette generator →

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