#2F8978#2F8978

#2F8978 is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.2% C 0.089 H 178.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F8978
RGBrgb(47, 137, 120)
HSLhsl(169, 49%, 36%)
HSVhsv(169, 66%, 54%)
CMYKcmyk(65.7%, 0%, 12.4%, 46.3%)
CIE-LABlab(51.67, -30.75, 1.33)
CIE-LCHlch(51.67, 30.78, 177.53°)
OKLaboklab(57.22% -0.0885 0.003)
OKLCHoklch(57.22% 0.089 178)
XYZxyz(13.5065, 19.8503, 20.8853)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8978 #892F40
analogous
#2F894B #2F8978 #2F6D89
triadic
#2F8978 #782F89 #89782F
tetradic
#2F8978 #4B2F89 #892F40 #6D892F
square
#2F8978 #4B2F89 #892F40 #6D892F
split-complementary
#2F8978 #892F6D #894B2F
monochromatic
#102E28 #1F5B50 #2F8978 #3FB7A0 #67CBB8

Accessibility & contrast

On white

4.23
#2F8978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2F8978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8978
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8978#FFFFFF#000000##000000
##2F89781.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#848177
Deuteranopia (green-blind)
#777779
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8978;
/* rgb */ color: rgb(47, 137, 120);
/* oklch */ color: oklch(57.2% 0.089 178.0);
Tailwind
colors: {
  custom: {
    50: '#73ac9e',
    500: '#2f8978',
    950: '#000000',
  },
}
SCSS
$custom: #2f8978;
$custom-light: #73ac9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8978",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 120
  },
  "hsl": {
    "h": 168.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.08851,
    "h": 178
  },
  "luminance": 0.19852
}

Semantic roles & 50–950 ramp

primary
#2F8978
secondary
#B26271
accent
#4F69D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2F8978

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

Preview Lab → · Contrast checker → · Palette generator →

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