#2F7F57#2F7F57

#2F7F57 is a mid, moderate teal. Relative luminance 0.165; OKLCH L 53.6% C 0.101 H 158.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F7F57
RGBrgb(47, 127, 87)
HSLhsl(150, 46%, 34%)
HSVhsv(150, 63%, 50%)
CMYKcmyk(63%, 0%, 31.5%, 50.2%)
CIE-LABlab(47.59, -34.31, 14.70)
CIE-LCHlch(47.59, 37.33, 156.80°)
OKLaboklab(53.62% -0.0936 0.0373)
OKLCHoklch(53.62% 0.101 158.3)
XYZxyz(10.4810, 16.4702, 11.6417)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F57 #7F2F57
analogous
#2F7F2F #2F7F57 #2F7F7F
triadic
#2F7F57 #572F7F #7F572F
tetradic
#2F7F57 #2F2F7F #7F2F57 #7F7F2F
square
#2F7F57 #2F2F7F #7F2F57 #7F7F2F
split-complementary
#2F7F57 #7F2F7F #7F2F2F
monochromatic
#0E261A #1E5238 #2F7F57 #40AC76 #63C594

Accessibility & contrast

On white

4.89
#2F7F57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2F7F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F57
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F57#FFFFFF#000000##FFFFFF
##2F7F571.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7655
Deuteranopia (green-blind)
#736E5A
Tritanopia (blue-blind)
#087E74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f7f57;
/* rgb */ color: rgb(47, 127, 87);
/* oklch */ color: oklch(53.6% 0.101 158.3);
Tailwind
colors: {
  custom: {
    50: '#70a586',
    500: '#2f7f57',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f57;
$custom-light: #70a586;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f57",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 87
  },
  "hsl": {
    "h": 150,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5362,
    "c": 0.10073,
    "h": 158.3
  },
  "luminance": 0.16471
}

Semantic roles & 50–950 ramp

primary
#2F7F57
secondary
#AC5E85
accent
#5294D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2F7F57

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

Preview Lab → · Contrast checker → · Palette generator →

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