#2F7E58#2F7E58

#2F7E58 is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.4% C 0.098 H 159.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F7E58
RGBrgb(47, 126, 88)
HSLhsl(151, 46%, 34%)
HSVhsv(151, 63%, 49%)
CMYKcmyk(62.7%, 0%, 30.2%, 50.6%)
CIE-LABlab(47.27, -33.63, 13.70)
CIE-LCHlch(47.27, 36.32, 157.84°)
OKLaboklab(53.37% -0.0919 0.0348)
OKLCHoklch(53.37% 0.098 159.3)
XYZxyz(10.3936, 16.2296, 11.8155)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E58 #7E2F55
analogous
#2F7E31 #2F7E58 #2F7D7E
triadic
#2F7E58 #582F7E #7E582F
tetradic
#2F7E58 #312F7E #7E2F55 #7D7E2F
square
#2F7E58 #312F7E #7E2F55 #7D7E2F
split-complementary
#2F7E58 #7E2F7D #7E312F
monochromatic
#0E251A #1E5139 #2F7E58 #40AB77 #63C596

Accessibility & contrast

On white

4.95
#2F7E58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2F7E58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E58
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E58#FFFFFF#000000##FFFFFF
##2F7E581.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7556
Deuteranopia (green-blind)
#726D5A
Tritanopia (blue-blind)
#077D74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7e58;
/* rgb */ color: rgb(47, 126, 88);
/* oklch */ color: oklch(53.4% 0.098 159.3);
Tailwind
colors: {
  custom: {
    50: '#70a487',
    500: '#2f7e58',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e58;
$custom-light: #70a487;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e58",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 88
  },
  "hsl": {
    "h": 151.139,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.0983,
    "h": 159.3
  },
  "luminance": 0.16231
}

Semantic roles & 50–950 ramp

primary
#2F7E58
secondary
#AC5D83
accent
#5291D5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2F7E58

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

Preview Lab → · Contrast checker → · Palette generator →

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