#40AF81#40AF81

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

Color values

HEX#40AF81
RGBrgb(64, 175, 129)
HSLhsl(155, 46%, 47%)
HSVhsv(155, 63%, 69%)
CMYKcmyk(63.4%, 0%, 26.3%, 31.4%)
CIE-LABlab(64.43, -42.48, 14.48)
CIE-LCHlch(64.43, 44.88, 161.18°)
OKLaboklab(67.85% -0.1167 0.0369)
OKLCHoklch(67.85% 0.122 162.4)
XYZxyz(21.4047, 33.3327, 26.0704)
Luminance0.3333 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF81 #AF406E
analogous
#40AF49 #40AF81 #40A6AF
triadic
#40AF81 #8140AF #AF8140
tetradic
#40AF81 #4940AF #AF406E #A6AF40
square
#40AF81 #4940AF #AF406E #A6AF40
split-complementary
#40AF81 #AF40A6 #AF4940
monochromatic
#1F553F #308260 #40AF81 #65C79E #92D7BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AF81#FFFFFF#000000##000000
##40AF811.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)
#ACA37E
Deuteranopia (green-blind)
#9D9884
Tritanopia (blue-blind)
#00AFA2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40af81;
/* rgb */ color: rgb(64, 175, 129);
/* oklch */ color: oklch(67.8% 0.122 162.4);
Tailwind
colors: {
  custom: {
    50: '#81c7a5',
    500: '#40af81',
    950: '#000000',
  },
}
SCSS
$custom: #40af81;
$custom-light: #81c7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40af81",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 129
  },
  "hsl": {
    "h": 155.135,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67845,
    "c": 0.12243,
    "h": 162.4
  },
  "luminance": 0.33335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AF81

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

Preview Lab → · Contrast checker → · Palette generator →

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