#2A7D71#2A7D71

#2A7D71 is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.7% C 0.081 H 181.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2A7D71
RGBrgb(42, 125, 113)
HSLhsl(171, 50%, 33%)
HSVhsv(171, 66%, 49%)
CMYKcmyk(66.4%, 0%, 9.6%, 51%)
CIE-LABlab(47.43, -27.79, -0.77)
CIE-LCHlch(47.43, 27.80, 181.59°)
OKLaboklab(53.67% -0.0811 -0.0025)
OKLCHoklch(53.67% 0.081 181.8)
XYZxyz(11.2677, 16.3505, 18.1817)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D71 #7D2A36
analogous
#2A7D47 #2A7D71 #2A607D
triadic
#2A7D71 #712A7D #7D712A
tetradic
#2A7D71 #472A7D #7D2A36 #607D2A
square
#2A7D71 #472A7D #7D2A36 #607D2A
split-complementary
#2A7D71 #7D2A60 #7D472A
monochromatic
#0B211E #1B4F48 #2A7D71 #39AB9A #5AC8B8

Accessibility & contrast

On white

4.92
#2A7D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2A7D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D71
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D71#FFFFFF#000000##FFFFFF
##2A7D711.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777671
Deuteranopia (green-blind)
#6B6D72
Tritanopia (blue-blind)
#007F79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a7d71;
/* rgb */ color: rgb(42, 125, 113);
/* oklch */ color: oklch(53.7% 0.081 181.8);
Tailwind
colors: {
  custom: {
    50: '#6fa399',
    500: '#2a7d71',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d71;
$custom-light: #6fa399;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d71",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 113
  },
  "hsl": {
    "h": 171.325,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53668,
    "c": 0.08111,
    "h": 181.8
  },
  "luminance": 0.16352
}

Semantic roles & 50–950 ramp

primary
#2A7D71
secondary
#AD5662
accent
#4F63D9
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2A7D71

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

Preview Lab → · Contrast checker → · Palette generator →

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