#2A7F72#2A7F72

#2A7F72 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.2% C 0.083 H 181.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2A7F72
RGBrgb(42, 127, 114)
HSLhsl(171, 50%, 33%)
HSVhsv(171, 67%, 50%)
CMYKcmyk(66.9%, 0%, 10.2%, 50.2%)
CIE-LABlab(48.11, -28.48, -0.36)
CIE-LCHlch(48.11, 28.48, 180.73°)
OKLaboklab(54.23% -0.0828 -0.0014)
OKLCHoklch(54.23% 0.083 181)
XYZxyz(11.5801, 16.8846, 18.5651)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F72 #7F2A37
analogous
#2A7F48 #2A7F72 #2A617F
triadic
#2A7F72 #722A7F #7F722A
tetradic
#2A7F72 #482A7F #7F2A37 #617F2A
square
#2A7F72 #482A7F #7F2A37 #617F2A
split-complementary
#2A7F72 #7F2A61 #7F482A
monochromatic
#0C231F #1B5149 #2A7F72 #39AD9B #5BC9B8

Accessibility & contrast

On white

4.80
#2A7F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2A7F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F72
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F72#FFFFFF#000000##FFFFFF
##2A7F721.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797872
Deuteranopia (green-blind)
#6D6E73
Tritanopia (blue-blind)
#00817B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7f72;
/* rgb */ color: rgb(42, 127, 114);
/* oklch */ color: oklch(54.2% 0.083 181.0);
Tailwind
colors: {
  custom: {
    50: '#6fa49a',
    500: '#2a7f72',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f72;
$custom-light: #6fa49a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f72",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 114
  },
  "hsl": {
    "h": 170.824,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54234,
    "c": 0.08284,
    "h": 181
  },
  "luminance": 0.16886
}

Semantic roles & 50–950 ramp

primary
#2A7F72
secondary
#AE5764
accent
#4E63DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2A7F72

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

Preview Lab → · Contrast checker → · Palette generator →

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