#2F9873#2F9873

#2F9873 is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.0% C 0.111 H 165.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2F9873
RGBrgb(47, 152, 115)
HSLhsl(159, 53%, 39%)
HSVhsv(159, 69%, 60%)
CMYKcmyk(69.1%, 0%, 24.3%, 40.4%)
CIE-LABlab(56.38, -38.87, 10.94)
CIE-LCHlch(56.38, 40.38, 164.28°)
OKLaboklab(61.03% -0.1073 0.028)
OKLCHoklch(61.03% 0.111 165.4)
XYZxyz(15.4934, 24.2969, 20.0896)
Luminance0.2430 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9873 #982F54
analogous
#2F983F #2F9873 #2F8998
triadic
#2F9873 #732F98 #98732F
tetradic
#2F9873 #3F2F98 #982F54 #89982F
square
#2F9873 #3F2F98 #982F54 #89982F
split-complementary
#2F9873 #982F89 #983F2F
monochromatic
#123B2C #216950 #2F9873 #40C496 #6FD2AF

Accessibility & contrast

On white

3.58
#2F9873 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#2F9873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9873
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9873#FFFFFF#000000##000000
##2F98731.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958D71
Deuteranopia (green-blind)
#878375
Tritanopia (blue-blind)
#00988E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2f9873;
/* rgb */ color: rgb(47, 152, 115);
/* oklch */ color: oklch(61.0% 0.111 165.4);
Tailwind
colors: {
  custom: {
    50: '#75b79b',
    500: '#2f9873',
    950: '#000000',
  },
}
SCSS
$custom: #2f9873;
$custom-light: #75b79b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9873",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 115
  },
  "hsl": {
    "h": 158.857,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.1109,
    "h": 165.4
  },
  "luminance": 0.24299
}

Semantic roles & 50–950 ramp

primary
#2F9873
secondary
#BA6985
accent
#4C7FDC
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2F9873

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

Preview Lab → · Contrast checker → · Palette generator →

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