#2F8178#2F8178

#2F8178 is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.1% C 0.080 H 185.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F8178
RGBrgb(47, 129, 120)
HSLhsl(173, 47%, 35%)
HSVhsv(173, 64%, 51%)
CMYKcmyk(63.6%, 0%, 7%, 49.4%)
CIE-LABlab(49.08, -26.85, -2.46)
CIE-LCHlch(49.08, 26.97, 185.23°)
OKLaboklab(55.12% -0.0795 -0.0071)
OKLCHoklch(55.12% 0.08 185.1)
XYZxyz(12.4112, 17.6596, 20.5202)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8178 #812F38
analogous
#2F814F #2F8178 #2F6181
triadic
#2F8178 #782F81 #81782F
tetradic
#2F8178 #4F2F81 #812F38 #61812F
square
#2F8178 #4F2F81 #812F38 #61812F
split-complementary
#2F8178 #812F61 #814F2F
monochromatic
#0E2725 #1F544E #2F8178 #3FAEA2 #64C6BC

Accessibility & contrast

On white

4.63
#2F8178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2F8178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8178
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8178#FFFFFF#000000##FFFFFF
##2F81781.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7A78
Deuteranopia (green-blind)
#6E7179
Tritanopia (blue-blind)
#00847E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8178;
/* rgb */ color: rgb(47, 129, 120);
/* oklch */ color: oklch(55.1% 0.080 185.1);
Tailwind
colors: {
  custom: {
    50: '#72a69e',
    500: '#2f8178',
    950: '#000000',
  },
}
SCSS
$custom: #2f8178;
$custom-light: #72a69e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8178",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 120
  },
  "hsl": {
    "h": 173.415,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55117,
    "c": 0.07976,
    "h": 185.1
  },
  "luminance": 0.17661
}

Semantic roles & 50–950 ramp

primary
#2F8178
secondary
#AD5E67
accent
#5260D6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F8178

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

Preview Lab → · Contrast checker → · Palette generator →

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