#2F7E57#2F7E57

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

Color values

HEX#2F7E57
RGBrgb(47, 126, 87)
HSLhsl(150, 46%, 34%)
HSVhsv(150, 63%, 49%)
CMYKcmyk(62.7%, 0%, 31%, 50.6%)
CIE-LABlab(47.25, -33.86, 14.25)
CIE-LCHlch(47.25, 36.73, 157.18°)
OKLaboklab(53.35% -0.0924 0.0362)
OKLCHoklch(53.35% 0.099 158.6)
XYZxyz(10.3525, 16.2131, 11.5989)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E57 #7E2F56
analogous
#2F7E30 #2F7E57 #2F7E7E
triadic
#2F7E57 #572F7E #7E572F
tetradic
#2F7E57 #302F7E #7E2F56 #7E7E2F
square
#2F7E57 #302F7E #7E2F56 #7E7E2F
split-complementary
#2F7E57 #7E2F7E #7E302F
monochromatic
#0E2519 #1E5138 #2F7E57 #40AB76 #63C594

Accessibility & contrast

On white

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

On black

4.24
#2F7E57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7E57#FFFFFF#000000##FFFFFF
##2F7E571.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7555
Deuteranopia (green-blind)
#726D59
Tritanopia (blue-blind)
#097D74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7e57;
/* rgb */ color: rgb(47, 126, 87);
/* oklch */ color: oklch(53.3% 0.099 158.6);
Tailwind
colors: {
  custom: {
    50: '#70a486',
    500: '#2f7e57',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e57;
$custom-light: #70a486;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e57",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 87
  },
  "hsl": {
    "h": 150.38,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53348,
    "c": 0.09925,
    "h": 158.6
  },
  "luminance": 0.16214
}

Semantic roles & 50–950 ramp

primary
#2F7E57
secondary
#AC5D84
accent
#5293D5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2F7E57

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

Preview Lab → · Contrast checker → · Palette generator →

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