#2F8671#2F8671

#2F8671 is a mid, moderate teal. Relative luminance 0.188; OKLCH L 56.2% C 0.089 H 174.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2F8671
RGBrgb(47, 134, 113)
HSLhsl(166, 48%, 35%)
HSVhsv(166, 65%, 53%)
CMYKcmyk(64.9%, 0%, 15.7%, 47.5%)
CIE-LABlab(50.51, -31.20, 3.71)
CIE-LCHlch(50.51, 31.42, 173.21°)
OKLaboklab(56.21% -0.0885 0.0094)
OKLCHoklch(56.21% 0.089 174)
XYZxyz(12.6766, 18.8454, 18.5890)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8671 #862F44
analogous
#2F8645 #2F8671 #2F6F86
triadic
#2F8671 #712F86 #86712F
tetradic
#2F8671 #452F86 #862F44 #6F862F
square
#2F8671 #452F86 #862F44 #6F862F
split-complementary
#2F8671 #862F6F #86452F
monochromatic
#0F2B25 #1F594B #2F8671 #3FB397 #66C9B1

Accessibility & contrast

On white

4.40
#2F8671 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2F8671 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8671
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8671#FFFFFF#000000##000000
##2F86711.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#827E70
Deuteranopia (green-blind)
#757473
Tritanopia (blue-blind)
#008780
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8671;
/* rgb */ color: rgb(47, 134, 113);
/* oklch */ color: oklch(56.2% 0.089 174.0);
Tailwind
colors: {
  custom: {
    50: '#72aa99',
    500: '#2f8671',
    950: '#000000',
  },
}
SCSS
$custom: #2f8671;
$custom-light: #72aa99;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8671",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 113
  },
  "hsl": {
    "h": 165.517,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56211,
    "c": 0.08902,
    "h": 174
  },
  "luminance": 0.18847
}

Semantic roles & 50–950 ramp

primary
#2F8671
secondary
#B06074
accent
#5071D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2F8671

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

Preview Lab → · Contrast checker → · Palette generator →

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