#40AFB2#40AFB2

#40AFB2 is a light, moderate teal. Relative luminance 0.350; OKLCH L 69.3% C 0.099 H 197.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#40AFB2
RGBrgb(64, 175, 178)
HSLhsl(182, 47%, 47%)
HSVhsv(182, 64%, 70%)
CMYKcmyk(64%, 1.7%, 0%, 30.2%)
CIE-LABlab(65.72, -29.85, -10.81)
CIE-LCHlch(65.72, 31.75, 199.90°)
OKLaboklab(69.32% -0.094 -0.03)
OKLCHoklch(69.32% 0.099 197.7)
XYZxyz(25.4767, 34.9615, 47.5164)
Luminance0.3496 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFB2 #B24340
analogous
#40B27C #40AFB2 #4076B2
triadic
#40AFB2 #B240AF #AFB240
tetradic
#40AFB2 #7C40B2 #B24340 #76B240
square
#40AFB2 #7C40B2 #B24340 #76B240
split-complementary
#40AFB2 #B24076 #B27C40
monochromatic
#205658 #308385 #40AFB2 #67C6C8 #94D7D8

Accessibility & contrast

On white

2.63
#40AFB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#40AFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFB2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFB2#FFFFFF#000000##000000
##40AFB21.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A7B2
Deuteranopia (green-blind)
#929AB3
Tritanopia (blue-blind)
#00B5B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40afb2;
/* rgb */ color: rgb(64, 175, 178);
/* oklch */ color: oklch(69.3% 0.099 197.7);
Tailwind
colors: {
  custom: {
    50: '#83c7c9',
    500: '#40afb2',
    950: '#000000',
  },
}
SCSS
$custom: #40afb2;
$custom-light: #83c7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#40afb2",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 178
  },
  "hsl": {
    "h": 181.579,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69322,
    "c": 0.09871,
    "h": 197.7
  },
  "luminance": 0.34964
}

Semantic roles & 50–950 ramp

primary
#40AFB2
secondary
#C48B8A
accent
#5551D7
background
#F8FCFC
surface
#F0F8F8
border
#CBD1D1
text
#0C1313
muted
#7D8282

Preview Lab

Preview with #40AFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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