#2F9877#2F9877

#2F9877 is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.1% C 0.108 H 167.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2F9877
RGBrgb(47, 152, 119)
HSLhsl(161, 53%, 39%)
HSVhsv(161, 69%, 60%)
CMYKcmyk(69.1%, 0%, 21.7%, 40.4%)
CIE-LABlab(56.48, -37.89, 8.81)
CIE-LCHlch(56.48, 38.90, 166.91°)
OKLaboklab(61.14% -0.1053 0.0225)
OKLCHoklch(61.14% 0.108 167.9)
XYZxyz(15.7286, 24.3910, 21.3282)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9877 #982F50
analogous
#2F9843 #2F9877 #2F8598
triadic
#2F9877 #772F98 #98772F
tetradic
#2F9877 #432F98 #982F50 #85982F
square
#2F9877 #432F98 #982F50 #85982F
split-complementary
#2F9877 #982F85 #98432F
monochromatic
#123B2E #216952 #2F9877 #40C49B #6FD2B3

Accessibility & contrast

On white

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

On black

5.88
#2F9877 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9877
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9877#FFFFFF#000000##000000
##2F98771.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E75
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2f9877;
/* rgb */ color: rgb(47, 152, 119);
/* oklch */ color: oklch(61.1% 0.108 167.9);
Tailwind
colors: {
  custom: {
    50: '#75b79e',
    500: '#2f9877',
    950: '#000000',
  },
}
SCSS
$custom: #2f9877;
$custom-light: #75b79e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9877",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 119
  },
  "hsl": {
    "h": 161.143,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61139,
    "c": 0.10773,
    "h": 167.9
  },
  "luminance": 0.24393
}

Semantic roles & 50–950 ramp

primary
#2F9877
secondary
#BA6982
accent
#4C79DC
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2F9877

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

Preview Lab → · Contrast checker → · Palette generator →

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