#40AFAF#40AFAF

#40AFAF is a light, moderate teal. Relative luminance 0.348; OKLCH L 69.2% C 0.099 H 195.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#40AFAF
RGBrgb(64, 175, 175)
HSLhsl(180, 46%, 47%)
HSVhsv(180, 63%, 69%)
CMYKcmyk(63.4%, 0%, 0%, 31.4%)
CIE-LABlab(65.63, -30.71, -9.28)
CIE-LCHlch(65.63, 32.09, 196.81°)
OKLaboklab(69.22% -0.0954 -0.0257)
OKLCHoklch(69.22% 0.099 195.1)
XYZxyz(25.1788, 34.8423, 45.9474)
Luminance0.3484 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFAF #AF4040
analogous
#40AF78 #40AFAF #4078AF
triadic
#40AFAF #AF40AF #AFAF40
tetradic
#40AFAF #7840AF #AF4040 #78AF40
square
#40AFAF #7840AF #AF4040 #78AF40
split-complementary
#40AFAF #AF4078 #AF7840
monochromatic
#1F5555 #308282 #40AFAF #65C7C7 #92D7D7

Accessibility & contrast

On white

2.64
#40AFAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#40AFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFAF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFAF#FFFFFF#000000##000000
##40AFAF1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4A7AF
Deuteranopia (green-blind)
#939AB0
Tritanopia (blue-blind)
#00B4AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40afaf;
/* rgb */ color: rgb(64, 175, 175);
/* oklch */ color: oklch(69.2% 0.099 195.1);
Tailwind
colors: {
  custom: {
    50: '#83c7c6',
    500: '#40afaf',
    950: '#000000',
  },
}
SCSS
$custom: #40afaf;
$custom-light: #83c7c6;
$custom-dark: #000000;
JSON
{
  "hex": "#40afaf",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 175
  },
  "hsl": {
    "h": 180,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69215,
    "c": 0.09878,
    "h": 195.1
  },
  "luminance": 0.34845
}

Semantic roles & 50–950 ramp

primary
#40AFAF
secondary
#C38888
accent
#5252D6
background
#F8FCFC
surface
#F0F8F8
border
#CBD1D1
text
#0C1313
muted
#7D8282

Preview Lab

Preview with #40AFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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