#2F8971#2F8971

#2F8971 is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.0% C 0.093 H 171.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2F8971
RGBrgb(47, 137, 113)
HSLhsl(164, 49%, 36%)
HSVhsv(164, 66%, 54%)
CMYKcmyk(65.7%, 0%, 17.5%, 46.3%)
CIE-LABlab(51.48, -32.61, 5.12)
CIE-LCHlch(51.48, 33.01, 171.08°)
OKLaboklab(57.01% -0.0919 0.013)
OKLCHoklch(57.01% 0.093 171.9)
XYZxyz(13.0971, 19.6865, 18.7292)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8971 #892F47
analogous
#2F8944 #2F8971 #2F7489
triadic
#2F8971 #712F89 #89712F
tetradic
#2F8971 #442F89 #892F47 #74892F
square
#2F8971 #442F89 #892F47 #74892F
split-complementary
#2F8971 #892F74 #89442F
monochromatic
#102E26 #1F5B4B #2F8971 #3FB797 #67CBB0

Accessibility & contrast

On white

4.25
#2F8971 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2F8971 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8971
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8971#FFFFFF#000000##000000
##2F89711.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#858070
Deuteranopia (green-blind)
#787773
Tritanopia (blue-blind)
#008A82
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8971;
/* rgb */ color: rgb(47, 137, 113);
/* oklch */ color: oklch(57.0% 0.093 171.9);
Tailwind
colors: {
  custom: {
    50: '#73ac99',
    500: '#2f8971',
    950: '#000000',
  },
}
SCSS
$custom: #2f8971;
$custom-light: #73ac99;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8971",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 113
  },
  "hsl": {
    "h": 164,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.09282,
    "h": 171.9
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#2F8971
secondary
#B26277
accent
#4F74D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2F8971

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

Preview Lab → · Contrast checker → · Palette generator →

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