#2F9879#2F9879

#2F9879 is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.2% C 0.106 H 169.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2F9879
RGBrgb(47, 152, 121)
HSLhsl(162, 53%, 39%)
HSVhsv(162, 69%, 60%)
CMYKcmyk(69.1%, 0%, 20.4%, 40.4%)
CIE-LABlab(56.53, -37.40, 7.74)
CIE-LCHlch(56.53, 38.19, 168.30°)
OKLaboklab(61.19% -0.1044 0.0198)
OKLCHoklch(61.19% 0.106 169.3)
XYZxyz(15.8499, 24.4395, 21.9674)
Luminance0.2444 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9879 #982F4E
analogous
#2F9845 #2F9879 #2F8398
triadic
#2F9879 #792F98 #98792F
tetradic
#2F9879 #452F98 #982F4E #83982F
square
#2F9879 #452F98 #982F4E #83982F
split-complementary
#2F9879 #982F83 #98452F
monochromatic
#123B2F #216954 #2F9879 #40C49D #6FD2B5

Accessibility & contrast

On white

3.57
#2F9879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#2F9879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9879
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9879#FFFFFF#000000##000000
##2F98791.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E77
Deuteranopia (green-blind)
#86837B
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f9879;
/* rgb */ color: rgb(47, 152, 121);
/* oklch */ color: oklch(61.2% 0.106 169.3);
Tailwind
colors: {
  custom: {
    50: '#76b79f',
    500: '#2f9879',
    950: '#000000',
  },
}
SCSS
$custom: #2f9879;
$custom-light: #76b79f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9879",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 121
  },
  "hsl": {
    "h": 162.286,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61194,
    "c": 0.10623,
    "h": 169.3
  },
  "luminance": 0.24441
}

Semantic roles & 50–950 ramp

primary
#2F9879
secondary
#BA6981
accent
#4C76DC
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2F9879

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

Preview Lab → · Contrast checker → · Palette generator →

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