#2F8772#2F8772

#2F8772 is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.5% C 0.090 H 174.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F8772
RGBrgb(47, 135, 114)
HSLhsl(166, 48%, 36%)
HSVhsv(166, 65%, 53%)
CMYKcmyk(65.2%, 0%, 15.6%, 47.1%)
CIE-LABlab(50.86, -31.41, 3.64)
CIE-LCHlch(50.86, 31.62, 173.39°)
OKLaboklab(56.51% -0.0892 0.0092)
OKLCHoklch(56.51% 0.09 174.1)
XYZxyz(12.8721, 19.1458, 18.9335)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8772 #872F44
analogous
#2F8746 #2F8772 #2F7087
triadic
#2F8772 #722F87 #87722F
tetradic
#2F8772 #462F87 #872F44 #70872F
square
#2F8772 #462F87 #872F44 #70872F
split-complementary
#2F8772 #872F70 #87462F
monochromatic
#0F2C25 #1F5A4C #2F8772 #3FB498 #66CAB2

Accessibility & contrast

On white

4.35
#2F8772 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2F8772 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8772
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8772#FFFFFF#000000##000000
##2F87721.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#827F71
Deuteranopia (green-blind)
#767574
Tritanopia (blue-blind)
#008881
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8772;
/* rgb */ color: rgb(47, 135, 114);
/* oklch */ color: oklch(56.5% 0.090 174.1);
Tailwind
colors: {
  custom: {
    50: '#72aa9a',
    500: '#2f8772',
    950: '#000000',
  },
}
SCSS
$custom: #2f8772;
$custom-light: #72aa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8772",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 114
  },
  "hsl": {
    "h": 165.682,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56507,
    "c": 0.08963,
    "h": 174.1
  },
  "luminance": 0.19147
}

Semantic roles & 50–950 ramp

primary
#2F8772
secondary
#B16174
accent
#5070D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2F8772

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

Preview Lab → · Contrast checker → · Palette generator →

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