#40AF7A#40AF7A

#40AF7A is a light, vivid teal. Relative luminance 0.332; OKLCH L 67.7% C 0.129 H 159.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#40AF7A
RGBrgb(64, 175, 122)
HSLhsl(151, 46%, 47%)
HSVhsv(151, 63%, 69%)
CMYKcmyk(63.4%, 0%, 30.3%, 31.4%)
CIE-LABlab(64.28, -44.00, 18.11)
CIE-LCHlch(64.28, 47.58, 157.63°)
OKLaboklab(67.68% -0.12 0.046)
OKLCHoklch(67.68% 0.129 159.1)
XYZxyz(20.9552, 33.1529, 23.7034)
Luminance0.3316 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF7A #AF4075
analogous
#40AF42 #40AF7A #40ADAF
triadic
#40AF7A #7A40AF #AF7A40
tetradic
#40AF7A #4240AF #AF4075 #ADAF40
square
#40AF7A #4240AF #AF4075 #ADAF40
split-complementary
#40AF7A #AF40AD #AF4240
monochromatic
#1F553C #30825B #40AF7A #65C798 #92D7B6

Accessibility & contrast

On white

2.75
#40AF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#40AF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF7A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF7A#FFFFFF#000000##000000
##40AF7A1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA277
Deuteranopia (green-blind)
#9E987D
Tritanopia (blue-blind)
#00AEA1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40af7a;
/* rgb */ color: rgb(64, 175, 122);
/* oklch */ color: oklch(67.7% 0.129 159.1);
Tailwind
colors: {
  custom: {
    50: '#81c8a0',
    500: '#40af7a',
    950: '#000000',
  },
}
SCSS
$custom: #40af7a;
$custom-light: #81c8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40af7a",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 122
  },
  "hsl": {
    "h": 151.351,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67679,
    "c": 0.12854,
    "h": 159.1
  },
  "luminance": 0.33155
}

Semantic roles & 50–950 ramp

primary
#40AF7A
secondary
#C388A4
accent
#5291D6
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40AF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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