#40AF7E#40AF7E

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

Color values

HEX#40AF7E
RGBrgb(64, 175, 126)
HSLhsl(154, 46%, 47%)
HSVhsv(154, 63%, 69%)
CMYKcmyk(63.4%, 0%, 28%, 31.4%)
CIE-LABlab(64.37, -43.14, 16.04)
CIE-LCHlch(64.37, 46.02, 159.61°)
OKLaboklab(67.77% -0.1181 0.0408)
OKLCHoklch(67.77% 0.125 160.9)
XYZxyz(21.2082, 33.2541, 25.0356)
Luminance0.3326 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF7E #AF4071
analogous
#40AF47 #40AF7E #40A9AF
triadic
#40AF7E #7E40AF #AF7E40
tetradic
#40AF7E #4740AF #AF4071 #A9AF40
square
#40AF7E #4740AF #AF4071 #A9AF40
split-complementary
#40AF7E #AF40A9 #AF4740
monochromatic
#1F553D #30825E #40AF7E #65C79C #92D7B9

Accessibility & contrast

On white

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

On black

7.65
#40AF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF7E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF7E#FFFFFF#000000##000000
##40AF7E1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA27B
Deuteranopia (green-blind)
#9E9881
Tritanopia (blue-blind)
#00AEA2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40af7e;
/* rgb */ color: rgb(64, 175, 126);
/* oklch */ color: oklch(67.8% 0.125 160.9);
Tailwind
colors: {
  custom: {
    50: '#81c8a3',
    500: '#40af7e',
    950: '#000000',
  },
}
SCSS
$custom: #40af7e;
$custom-light: #81c8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40af7e",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 126
  },
  "hsl": {
    "h": 153.514,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67773,
    "c": 0.12501,
    "h": 160.9
  },
  "luminance": 0.33256
}

Semantic roles & 50–950 ramp

primary
#40AF7E
secondary
#C388A2
accent
#528CD6
background
#F8FCFA
surface
#EFF8F3
border
#CAD1CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #40AF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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