#40AF80#40AF80

#40AF80 is a light, vivid teal. Relative luminance 0.333; OKLCH L 67.8% C 0.123 H 161.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#40AF80
RGBrgb(64, 175, 128)
HSLhsl(155, 46%, 47%)
HSVhsv(155, 63%, 69%)
CMYKcmyk(63.4%, 0%, 26.9%, 31.4%)
CIE-LABlab(64.41, -42.70, 15.00)
CIE-LCHlch(64.41, 45.26, 160.65°)
OKLaboklab(67.82% -0.1172 0.0383)
OKLCHoklch(67.82% 0.123 161.9)
XYZxyz(21.3385, 33.3062, 25.7221)
Luminance0.3331 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF80 #AF406F
analogous
#40AF49 #40AF80 #40A7AF
triadic
#40AF80 #8040AF #AF8040
tetradic
#40AF80 #4940AF #AF406F #A7AF40
square
#40AF80 #4940AF #AF406F #A7AF40
split-complementary
#40AF80 #AF40A7 #AF4940
monochromatic
#1F553E #30825F #40AF80 #65C79E #92D7BA

Accessibility & contrast

On white

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

On black

7.66
#40AF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF80
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF80#FFFFFF#000000##000000
##40AF801.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA37D
Deuteranopia (green-blind)
#9D9883
Tritanopia (blue-blind)
#00AFA2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40af80;
/* rgb */ color: rgb(64, 175, 128);
/* oklch */ color: oklch(67.8% 0.123 161.9);
Tailwind
colors: {
  custom: {
    50: '#81c8a5',
    500: '#40af80',
    950: '#000000',
  },
}
SCSS
$custom: #40af80;
$custom-light: #81c8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40af80",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 128
  },
  "hsl": {
    "h": 154.595,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67821,
    "c": 0.12328,
    "h": 161.9
  },
  "luminance": 0.33308
}

Semantic roles & 50–950 ramp

primary
#40AF80
secondary
#C388A1
accent
#528AD6
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #40AF80

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

Preview Lab → · Contrast checker → · Palette generator →

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