#2F875C#2F875C

#2F875C is a mid, moderate teal. Relative luminance 0.187; OKLCH L 55.9% C 0.108 H 158.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F875C
RGBrgb(47, 135, 92)
HSLhsl(151, 48%, 36%)
HSVhsv(151, 65%, 53%)
CMYKcmyk(65.2%, 0%, 31.9%, 47.1%)
CIE-LABlab(50.34, -36.75, 15.61)
CIE-LCHlch(50.34, 39.92, 156.98°)
OKLaboklab(55.91% -0.1001 0.0396)
OKLCHoklch(55.91% 0.108 158.4)
XYZxyz(11.7669, 18.7038, 13.1132)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F875C #872F5A
analogous
#2F8730 #2F875C #2F8687
triadic
#2F875C #5C2F87 #875C2F
tetradic
#2F875C #302F87 #872F5A #86872F
square
#2F875C #302F87 #872F5A #86872F
split-complementary
#2F875C #872F86 #87302F
monochromatic
#0F2C1E #1F5A3D #2F875C #3FB47B #66CA99

Accessibility & contrast

On white

4.43
#2F875C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2F875C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F875C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F875C#FFFFFF#000000##000000
##2F875C1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D59
Deuteranopia (green-blind)
#7A745F
Tritanopia (blue-blind)
#00867C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f875c;
/* rgb */ color: rgb(47, 135, 92);
/* oklch */ color: oklch(55.9% 0.108 158.4);
Tailwind
colors: {
  custom: {
    50: '#72ab8a',
    500: '#2f875c',
    950: '#000000',
  },
}
SCSS
$custom: #2f875c;
$custom-light: #72ab8a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f875c",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 92
  },
  "hsl": {
    "h": 150.682,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55911,
    "c": 0.10766,
    "h": 158.4
  },
  "luminance": 0.18705
}

Semantic roles & 50–950 ramp

primary
#2F875C
secondary
#B16188
accent
#5092D8
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2F875C

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

Preview Lab → · Contrast checker → · Palette generator →

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