#2F8870#2F8870

#2F8870 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.7% C 0.092 H 171.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F8870
RGBrgb(47, 136, 112)
HSLhsl(164, 49%, 36%)
HSVhsv(164, 65%, 53%)
CMYKcmyk(65.4%, 0%, 17.6%, 46.7%)
CIE-LABlab(51.13, -32.40, 5.19)
CIE-LCHlch(51.13, 32.82, 170.89°)
OKLaboklab(56.71% -0.0913 0.0132)
OKLCHoklch(56.71% 0.092 171.8)
XYZxyz(12.8996, 19.3811, 18.3872)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8870 #882F47
analogous
#2F8843 #2F8870 #2F7388
triadic
#2F8870 #702F88 #88702F
tetradic
#2F8870 #432F88 #882F47 #73882F
square
#2F8870 #432F88 #882F47 #73882F
split-complementary
#2F8870 #882F73 #88432F
monochromatic
#102D25 #1F5B4B #2F8870 #3FB595 #67CAB0

Accessibility & contrast

On white

4.31
#2F8870 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2F8870 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8870
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8870#FFFFFF#000000##000000
##2F88701.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#847F6F
Deuteranopia (green-blind)
#777672
Tritanopia (blue-blind)
#008981
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8870;
/* rgb */ color: rgb(47, 136, 112);
/* oklch */ color: oklch(56.7% 0.092 171.8);
Tailwind
colors: {
  custom: {
    50: '#72ab99',
    500: '#2f8870',
    950: '#000000',
  },
}
SCSS
$custom: #2f8870;
$custom-light: #72ab99;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8870",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 112
  },
  "hsl": {
    "h": 163.82,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.09222,
    "h": 171.8
  },
  "luminance": 0.19383
}

Semantic roles & 50–950 ramp

primary
#2F8870
secondary
#B16177
accent
#5074D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100D
muted
#7B7F7E

Preview Lab

Preview with #2F8870

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

Preview Lab → · Contrast checker → · Palette generator →

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