#2F8271#2F8271

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

Color values

HEX#2F8271
RGBrgb(47, 130, 113)
HSLhsl(168, 47%, 35%)
HSVhsv(168, 64%, 51%)
CMYKcmyk(63.8%, 0%, 13.1%, 49%)
CIE-LABlab(49.20, -29.29, 1.83)
CIE-LCHlch(49.20, 29.35, 176.42°)
OKLaboklab(55.15% -0.084 0.0044)
OKLCHoklch(55.15% 0.084 177)
XYZxyz(12.1342, 17.7606, 18.4082)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8271 #822F40
analogous
#2F8248 #2F8271 #2F6A82
triadic
#2F8271 #712F82 #82712F
tetradic
#2F8271 #482F82 #822F40 #6A822F
square
#2F8271 #482F82 #822F40 #6A822F
split-complementary
#2F8271 #822F6A #82482F
monochromatic
#0E2823 #1F554A #2F8271 #3FAF98 #64C7B3

Accessibility & contrast

On white

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

On black

4.55
#2F8271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F8271#FFFFFF#000000##FFFFFF
##2F82711.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#717172
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8271;
/* rgb */ color: rgb(47, 130, 113);
/* oklch */ color: oklch(55.2% 0.084 177.0);
Tailwind
colors: {
  custom: {
    50: '#72a799',
    500: '#2f8271',
    950: '#000000',
  },
}
SCSS
$custom: #2f8271;
$custom-light: #72a799;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8271",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 167.711,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.08412,
    "h": 177
  },
  "luminance": 0.17762
}

Semantic roles & 50–950 ramp

primary
#2F8271
secondary
#AE5F6F
accent
#516DD7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F8271

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

Preview Lab → · Contrast checker → · Palette generator →

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