#2F9871#2F9871

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

Color values

HEX#2F9871
RGBrgb(47, 152, 113)
HSLhsl(158, 53%, 39%)
HSVhsv(158, 69%, 60%)
CMYKcmyk(69.1%, 0%, 25.7%, 40.4%)
CIE-LABlab(56.34, -39.34, 12.01)
CIE-LCHlch(56.34, 41.13, 163.03°)
OKLaboklab(60.98% -0.1083 0.0307)
OKLCHoklch(60.98% 0.113 164.2)
XYZxyz(15.3795, 24.2514, 19.4900)
Luminance0.2425 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9871 #982F56
analogous
#2F983C #2F9871 #2F8B98
triadic
#2F9871 #712F98 #98712F
tetradic
#2F9871 #3C2F98 #982F56 #8B982F
square
#2F9871 #3C2F98 #982F56 #8B982F
split-complementary
#2F9871 #982F8B #983C2F
monochromatic
#123B2B #21694E #2F9871 #40C493 #6FD2AD

Accessibility & contrast

On white

3.59
#2F9871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#2F9871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9871
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9871#FFFFFF#000000##000000
##2F98711.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958D6F
Deuteranopia (green-blind)
#878374
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2f9871;
/* rgb */ color: rgb(47, 152, 113);
/* oklch */ color: oklch(61.0% 0.113 164.2);
Tailwind
colors: {
  custom: {
    50: '#75b799',
    500: '#2f9871',
    950: '#000000',
  },
}
SCSS
$custom: #2f9871;
$custom-light: #75b799;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9871",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 113
  },
  "hsl": {
    "h": 157.714,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6098,
    "c": 0.11257,
    "h": 164.2
  },
  "luminance": 0.24253
}

Semantic roles & 50–950 ramp

primary
#2F9871
secondary
#BA6987
accent
#4C81DC
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2F9871

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

Preview Lab → · Contrast checker → · Palette generator →

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