#2F7B62#2F7B62

#2F7B62 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.8% C 0.085 H 168.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F7B62
RGBrgb(47, 123, 98)
HSLhsl(160, 45%, 33%)
HSVhsv(160, 62%, 48%)
CMYKcmyk(61.8%, 0%, 20.3%, 51.8%)
CIE-LABlab(46.51, -29.86, 6.78)
CIE-LCHlch(46.51, 30.62, 167.20°)
OKLaboklab(52.83% -0.0834 0.0174)
OKLCHoklch(52.83% 0.085 168.2)
XYZxyz(10.4588, 15.6511, 14.0227)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B62 #7B2F48
analogous
#2F7B3C #2F7B62 #2F6E7B
triadic
#2F7B62 #622F7B #7B622F
tetradic
#2F7B62 #3C2F7B #7B2F48 #6E7B2F
square
#2F7B62 #3C2F7B #7B2F48 #6E7B2F
split-complementary
#2F7B62 #7B2F6E #7B3C2F
monochromatic
#0D221B #1E4F3F #2F7B62 #40A785 #62C3A3

Accessibility & contrast

On white

5.08
#2F7B62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2F7B62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B62
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B62#FFFFFF#000000##FFFFFF
##2F7B621.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787361
Deuteranopia (green-blind)
#6D6B64
Tritanopia (blue-blind)
#007C74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7b62;
/* rgb */ color: rgb(47, 123, 98);
/* oklch */ color: oklch(52.8% 0.085 168.2);
Tailwind
colors: {
  custom: {
    50: '#70a28e',
    500: '#2f7b62',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b62;
$custom-light: #70a28e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b62",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 98
  },
  "hsl": {
    "h": 160.263,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.08518,
    "h": 168.2
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#2F7B62
secondary
#AA5C76
accent
#537ED4
background
#F7FAF8
surface
#EDF3F0
border
#C8CDCB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2F7B62

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

Preview Lab → · Contrast checker → · Palette generator →

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