#51AFA2#51AFA2

#51AFA2 is a light, moderate teal. Relative luminance 0.350; OKLCH L 69.3% C 0.091 H 183.3°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#51AFA2
RGBrgb(81, 175, 162)
HSLhsl(172, 37%, 50%)
HSVhsv(172, 54%, 69%)
CMYKcmyk(53.7%, 0%, 7.4%, 31.4%)
CIE-LABlab(65.76, -31.03, -1.80)
CIE-LCHlch(65.76, 31.08, 183.32°)
OKLaboklab(69.34% -0.0913 -0.0053)
OKLCHoklch(69.34% 0.091 183.3)
XYZxyz(25.2421, 35.0156, 39.6039)
Luminance0.3502 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AFA2 #AF515E
analogous
#51AF73 #51AFA2 #518DAF
triadic
#51AFA2 #A251AF #AFA251
tetradic
#51AFA2 #7351AF #AF515E #8DAF51
square
#51AFA2 #7351AF #AF515E #8DAF51
split-complementary
#51AFA2 #AF518D #AF7351
monochromatic
#2A5C55 #3D857B #51AFA2 #7BC2B8 #A5D6CF

Accessibility & contrast

On white

2.62
#51AFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#51AFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AFA2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AFA2#FFFFFF#000000##000000
##51AFA21.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A6A2
Deuteranopia (green-blind)
#999BA3
Tritanopia (blue-blind)
#11B2AB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #51afa2;
/* rgb */ color: rgb(81, 175, 162);
/* oklch */ color: oklch(69.3% 0.091 183.3);
Tailwind
colors: {
  custom: {
    50: '#8ac7bd',
    500: '#51afa2',
    950: '#000000',
  },
}
SCSS
$custom: #51afa2;
$custom-light: #8ac7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#51afa2",
  "rgb": {
    "r": 81,
    "g": 175,
    "b": 162
  },
  "hsl": {
    "h": 171.702,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.69344,
    "c": 0.09147,
    "h": 183.3
  },
  "luminance": 0.35018
}

Semantic roles & 50–950 ramp

primary
#51AFA2
secondary
#C3999F
accent
#5B6BCD
background
#F8FCFB
surface
#F0F8F6
border
#CBD1D0
text
#0C1312
muted
#7D8281

Preview Lab

Preview with #51AFA2

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

Preview Lab → · Contrast checker → · Palette generator →

#51AFA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva