#2A7F74#2A7F74

#2A7F74 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.3% C 0.082 H 183.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2A7F74
RGBrgb(42, 127, 116)
HSLhsl(172, 50%, 33%)
HSVhsv(172, 67%, 50%)
CMYKcmyk(66.9%, 0%, 8.7%, 50.2%)
CIE-LABlab(48.17, -27.92, -1.45)
CIE-LCHlch(48.17, 27.95, 182.98°)
OKLaboklab(54.3% -0.0819 -0.0044)
OKLCHoklch(54.3% 0.082 183.1)
XYZxyz(11.6951, 16.9307, 19.1712)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F74 #7F2A35
analogous
#2A7F49 #2A7F74 #2A5F7F
triadic
#2A7F74 #742A7F #7F742A
tetradic
#2A7F74 #492A7F #7F2A35 #5F7F2A
square
#2A7F74 #492A7F #7F2A35 #5F7F2A
split-complementary
#2A7F74 #7F2A5F #7F492A
monochromatic
#0C2320 #1B514A #2A7F74 #39AD9E #5BC9BA

Accessibility & contrast

On white

4.79
#2A7F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2A7F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F74
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F74#FFFFFF#000000##FFFFFF
##2A7F741.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797874
Deuteranopia (green-blind)
#6C6F75
Tritanopia (blue-blind)
#00827C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7f74;
/* rgb */ color: rgb(42, 127, 116);
/* oklch */ color: oklch(54.3% 0.082 183.1);
Tailwind
colors: {
  custom: {
    50: '#6fa49c',
    500: '#2a7f74',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f74;
$custom-light: #6fa49c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f74",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 116
  },
  "hsl": {
    "h": 172.235,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54301,
    "c": 0.08197,
    "h": 183.1
  },
  "luminance": 0.16932
}

Semantic roles & 50–950 ramp

primary
#2A7F74
secondary
#AE5762
accent
#4E60DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2A7F74

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

Preview Lab → · Contrast checker → · Palette generator →

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