#2F817C#2F817C

#2F817C is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.3% C 0.079 H 189.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F817C
RGBrgb(47, 129, 124)
HSLhsl(176, 47%, 35%)
HSVhsv(176, 64%, 51%)
CMYKcmyk(63.6%, 0%, 3.9%, 49.4%)
CIE-LABlab(49.20, -25.70, -4.63)
CIE-LCHlch(49.20, 26.11, 190.21°)
OKLaboklab(55.26% -0.0775 -0.0129)
OKLCHoklch(55.26% 0.079 189.5)
XYZxyz(12.6590, 17.7587, 21.8255)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F817C #812F34
analogous
#2F8153 #2F817C #2F5D81
triadic
#2F817C #7C2F81 #817C2F
tetradic
#2F817C #532F81 #812F34 #5D812F
square
#2F817C #532F81 #812F34 #5D812F
split-complementary
#2F817C #812F5D #81532F
monochromatic
#0E2726 #1F5451 #2F817C #3FAEA7 #64C6C0

Accessibility & contrast

On white

4.61
#2F817C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2F817C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F817C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F817C#FFFFFF#000000##FFFFFF
##2F817C1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7A7C
Deuteranopia (green-blind)
#6D717D
Tritanopia (blue-blind)
#00847F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f817c;
/* rgb */ color: rgb(47, 129, 124);
/* oklch */ color: oklch(55.3% 0.079 189.5);
Tailwind
colors: {
  custom: {
    50: '#72a6a1',
    500: '#2f817c',
    950: '#000000',
  },
}
SCSS
$custom: #2f817c;
$custom-light: #72a6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f817c",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 176.341,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55256,
    "c": 0.07861,
    "h": 189.5
  },
  "luminance": 0.1776
}

Semantic roles & 50–950 ramp

primary
#2F817C
secondary
#AD5E63
accent
#525AD6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0F
muted
#7B7F7E

Preview Lab

Preview with #2F817C

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

Preview Lab → · Contrast checker → · Palette generator →

#2F817C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva