#2F817D#2F817D

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

Color values

HEX#2F817D
RGBrgb(47, 129, 125)
HSLhsl(177, 47%, 35%)
HSVhsv(177, 64%, 51%)
CMYKcmyk(63.6%, 0%, 3.1%, 49.4%)
CIE-LABlab(49.23, -25.41, -5.17)
CIE-LCHlch(49.23, 25.93, 191.51°)
OKLaboklab(55.29% -0.0771 -0.0144)
OKLCHoklch(55.29% 0.078 190.6)
XYZxyz(12.7226, 17.7842, 22.1603)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F817D #812F33
analogous
#2F8154 #2F817D #2F5C81
triadic
#2F817D #7D2F81 #817D2F
tetradic
#2F817D #542F81 #812F33 #5C812F
square
#2F817D #542F81 #812F33 #5C812F
split-complementary
#2F817D #812F5C #81542F
monochromatic
#0E2726 #1F5452 #2F817D #3FAEA8 #64C6C2

Accessibility & contrast

On white

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

On black

4.56
#2F817D on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F817D#FFFFFF#000000##FFFFFF
##2F817D1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7A7D
Deuteranopia (green-blind)
#6D717E
Tritanopia (blue-blind)
#008480
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f817d;
/* rgb */ color: rgb(47, 129, 125);
/* oklch */ color: oklch(55.3% 0.078 190.6);
Tailwind
colors: {
  custom: {
    50: '#72a6a2',
    500: '#2f817d',
    950: '#000000',
  },
}
SCSS
$custom: #2f817d;
$custom-light: #72a6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f817d",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 125
  },
  "hsl": {
    "h": 177.073,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55292,
    "c": 0.07841,
    "h": 190.6
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#2F817D
secondary
#AD5E62
accent
#5258D6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0F
muted
#7B7F7E

Preview Lab

Preview with #2F817D

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

Preview Lab → · Contrast checker → · Palette generator →

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