#2F875F#2F875F

#2F875F is a mid, moderate teal. Relative luminance 0.188; OKLCH L 56.0% C 0.105 H 160.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2F875F
RGBrgb(47, 135, 95)
HSLhsl(153, 48%, 36%)
HSVhsv(153, 65%, 53%)
CMYKcmyk(65.2%, 0%, 29.6%, 47.1%)
CIE-LABlab(50.40, -36.08, 13.98)
CIE-LCHlch(50.40, 38.69, 158.82°)
OKLaboklab(55.98% -0.0986 0.0356)
OKLCHoklch(55.98% 0.105 160.2)
XYZxyz(11.9007, 18.7573, 13.8176)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F875F #872F57
analogous
#2F8733 #2F875F #2F8387
triadic
#2F875F #5F2F87 #875F2F
tetradic
#2F875F #332F87 #872F57 #83872F
square
#2F875F #332F87 #872F57 #83872F
split-complementary
#2F875F #872F83 #87332F
monochromatic
#0F2C1F #1F5A3F #2F875F #3FB47F #66CA9D

Accessibility & contrast

On white

4.42
#2F875F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2F875F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F875F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F875F#FFFFFF#000000##000000
##2F875F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D5D
Deuteranopia (green-blind)
#797562
Tritanopia (blue-blind)
#00867C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f875f;
/* rgb */ color: rgb(47, 135, 95);
/* oklch */ color: oklch(56.0% 0.105 160.2);
Tailwind
colors: {
  custom: {
    50: '#72ab8c',
    500: '#2f875f',
    950: '#000000',
  },
}
SCSS
$custom: #2f875f;
$custom-light: #72ab8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f875f",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 152.727,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55984,
    "c": 0.10485,
    "h": 160.2
  },
  "luminance": 0.18759
}

Semantic roles & 50–950 ramp

primary
#2F875F
secondary
#B16185
accent
#508ED8
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #2F875F

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

Preview Lab → · Contrast checker → · Palette generator →

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