#2F8874#2F8874

#2F8874 is a mid, moderate teal. Relative luminance 0.195; OKLCH L 56.8% C 0.090 H 175.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F8874
RGBrgb(47, 136, 116)
HSLhsl(167, 49%, 36%)
HSVhsv(167, 65%, 53%)
CMYKcmyk(65.4%, 0%, 14.7%, 46.7%)
CIE-LABlab(51.24, -31.35, 3.02)
CIE-LCHlch(51.24, 31.50, 174.49°)
OKLaboklab(56.83% -0.0893 0.0075)
OKLCHoklch(56.83% 0.09 175.2)
XYZxyz(13.1273, 19.4722, 19.5863)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8874 #882F43
analogous
#2F8847 #2F8874 #2F6F88
triadic
#2F8874 #742F88 #88742F
tetradic
#2F8874 #472F88 #882F43 #6F882F
square
#2F8874 #472F88 #882F43 #6F882F
split-complementary
#2F8874 #882F6F #88472F
monochromatic
#102D26 #1F5B4D #2F8874 #3FB59B #67CAB4

Accessibility & contrast

On white

4.29
#2F8874 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2F8874 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8874
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8874#FFFFFF#000000##000000
##2F88741.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#838073
Deuteranopia (green-blind)
#767675
Tritanopia (blue-blind)
#008A82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8874;
/* rgb */ color: rgb(47, 136, 116);
/* oklch */ color: oklch(56.8% 0.090 175.2);
Tailwind
colors: {
  custom: {
    50: '#73ab9c',
    500: '#2f8874',
    950: '#000000',
  },
}
SCSS
$custom: #2f8874;
$custom-light: #73ab9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8874",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 116
  },
  "hsl": {
    "h": 166.517,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56832,
    "c": 0.08962,
    "h": 175.2
  },
  "luminance": 0.19474
}

Semantic roles & 50–950 ramp

primary
#2F8874
secondary
#B16173
accent
#506ED8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2F8874

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

Preview Lab → · Contrast checker → · Palette generator →

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