#40AFB8#40AFB8

#40AFB8 is a light, moderate teal. Relative luminance 0.352; OKLCH L 69.5% C 0.099 H 202.8°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#40AFB8
RGBrgb(64, 175, 184)
HSLhsl(185, 48%, 49%)
HSVhsv(185, 65%, 72%)
CMYKcmyk(65.2%, 4.9%, 0%, 27.8%)
CIE-LABlab(65.91, -28.10, -13.85)
CIE-LCHlch(65.91, 31.33, 206.24°)
OKLaboklab(69.54% -0.0915 -0.0384)
OKLCHoklch(69.54% 0.099 202.8)
XYZxyz(26.0923, 35.2078, 50.7588)
Luminance0.3521 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFB8 #B84940
analogous
#40B885 #40AFB8 #4073B8
triadic
#40AFB8 #B840AF #AFB840
tetradic
#40AFB8 #8540B8 #B84940 #73B840
square
#40AFB8 #8540B8 #B84940 #73B840
split-complementary
#40AFB8 #B84073 #B88540
monochromatic
#20595D #30848B #40AFB8 #6AC4CB #97D6DB

Accessibility & contrast

On white

2.61
#40AFB8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#40AFB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFB8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFB8#FFFFFF#000000##000000
##40AFB81.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2A8B9
Deuteranopia (green-blind)
#909AB8
Tritanopia (blue-blind)
#00B6B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40afb8;
/* rgb */ color: rgb(64, 175, 184);
/* oklch */ color: oklch(69.5% 0.099 202.8);
Tailwind
colors: {
  custom: {
    50: '#84c7cd',
    500: '#40afb8',
    950: '#000000',
  },
}
SCSS
$custom: #40afb8;
$custom-light: #84c7cd;
$custom-dark: #000000;
JSON
{
  "hex": "#40afb8",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 184
  },
  "hsl": {
    "h": 184.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.6954,
    "c": 0.0992,
    "h": 202.8
  },
  "luminance": 0.35211
}

Semantic roles & 50–950 ramp

primary
#40AFB8
secondary
#C7918D
accent
#5A50D8
background
#F8FCFC
surface
#F0F8F9
border
#CBD1D2
text
#0C1313
muted
#7D8282

Preview Lab

Preview with #40AFB8

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

Preview Lab → · Contrast checker → · Palette generator →

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