#40AF82#40AF82

#40AF82 is a light, vivid teal. Relative luminance 0.334; OKLCH L 67.9% C 0.122 H 162.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#40AF82
RGBrgb(64, 175, 130)
HSLhsl(156, 46%, 47%)
HSVhsv(156, 63%, 69%)
CMYKcmyk(63.4%, 0%, 25.7%, 31.4%)
CIE-LABlab(64.45, -42.25, 13.96)
CIE-LCHlch(64.45, 44.50, 161.72°)
OKLaboklab(67.87% -0.1162 0.0357)
OKLCHoklch(67.87% 0.122 162.9)
XYZxyz(21.4715, 33.3594, 26.4222)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF82 #AF406D
analogous
#40AF4B #40AF82 #40A5AF
triadic
#40AF82 #8240AF #AF8240
tetradic
#40AF82 #4B40AF #AF406D #A5AF40
square
#40AF82 #4B40AF #AF406D #A5AF40
split-complementary
#40AF82 #AF40A5 #AF4B40
monochromatic
#1F553F #308261 #40AF82 #65C79F #92D7BB

Accessibility & contrast

On white

2.74
#40AF82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#40AF82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF82
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF82#FFFFFF#000000##000000
##40AF821.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA37F
Deuteranopia (green-blind)
#9D9885
Tritanopia (blue-blind)
#00AFA3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40af82;
/* rgb */ color: rgb(64, 175, 130);
/* oklch */ color: oklch(67.9% 0.122 162.9);
Tailwind
colors: {
  custom: {
    50: '#81c7a6',
    500: '#40af82',
    950: '#000000',
  },
}
SCSS
$custom: #40af82;
$custom-light: #81c7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#40af82",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 130
  },
  "hsl": {
    "h": 155.676,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.6787,
    "c": 0.12158,
    "h": 162.9
  },
  "luminance": 0.33362
}

Semantic roles & 50–950 ramp

primary
#40AF82
secondary
#C388A0
accent
#5287D6
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #40AF82

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

Preview Lab → · Contrast checker → · Palette generator →

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