#2F9872#2F9872

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

Color values

HEX#2F9872
RGBrgb(47, 152, 114)
HSLhsl(158, 53%, 39%)
HSVhsv(158, 69%, 60%)
CMYKcmyk(69.1%, 0%, 25%, 40.4%)
CIE-LABlab(56.36, -39.11, 11.47)
CIE-LCHlch(56.36, 40.75, 163.65°)
OKLaboklab(61.01% -0.1078 0.0293)
OKLCHoklch(61.01% 0.112 164.8)
XYZxyz(15.4361, 24.2740, 19.7882)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9872 #982F55
analogous
#2F983E #2F9872 #2F8A98
triadic
#2F9872 #722F98 #98722F
tetradic
#2F9872 #3E2F98 #982F55 #8A982F
square
#2F9872 #3E2F98 #982F55 #8A982F
split-complementary
#2F9872 #982F8A #983E2F
monochromatic
#123B2C #21694F #2F9872 #40C494 #6FD2AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9872#FFFFFF#000000##000000
##2F98721.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f9872;
/* rgb */ color: rgb(47, 152, 114);
/* oklch */ color: oklch(61.0% 0.112 164.8);
Tailwind
colors: {
  custom: {
    50: '#75b79a',
    500: '#2f9872',
    950: '#000000',
  },
}
SCSS
$custom: #2f9872;
$custom-light: #75b79a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9872",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 114
  },
  "hsl": {
    "h": 158.286,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61006,
    "c": 0.11173,
    "h": 164.8
  },
  "luminance": 0.24276
}

Semantic roles & 50–950 ramp

primary
#2F9872
secondary
#BA6986
accent
#4C80DC
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2F9872

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

Preview Lab → · Contrast checker → · Palette generator →

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