#2A7D79#2A7D79

#2A7D79 is a mid, moderate teal. Relative luminance 0.165; OKLCH L 53.9% C 0.079 H 190.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A7D79
RGBrgb(42, 125, 121)
HSLhsl(177, 50%, 33%)
HSVhsv(177, 66%, 49%)
CMYKcmyk(66.4%, 0%, 3.2%, 51%)
CIE-LABlab(47.67, -25.46, -5.14)
CIE-LCHlch(47.67, 25.97, 191.42°)
OKLaboklab(53.95% -0.0772 -0.0144)
OKLCHoklch(53.95% 0.079 190.5)
XYZxyz(11.7381, 16.5387, 20.6591)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D79 #7D2A2E
analogous
#2A7D4F #2A7D79 #2A587D
triadic
#2A7D79 #792A7D #7D792A
tetradic
#2A7D79 #4F2A7D #7D2A2E #587D2A
square
#2A7D79 #4F2A7D #7D2A2E #587D2A
split-complementary
#2A7D79 #7D2A58 #7D4F2A
monochromatic
#0B2120 #1B4F4D #2A7D79 #39ABA5 #5AC8C2

Accessibility & contrast

On white

4.87
#2A7D79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2A7D79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D79
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D79#FFFFFF#000000##FFFFFF
##2A7D791.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767779
Deuteranopia (green-blind)
#696D7A
Tritanopia (blue-blind)
#00807C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a7d79;
/* rgb */ color: rgb(42, 125, 121);
/* oklch */ color: oklch(53.9% 0.079 190.5);
Tailwind
colors: {
  custom: {
    50: '#6fa39f',
    500: '#2a7d79',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d79;
$custom-light: #6fa39f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d79",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 121
  },
  "hsl": {
    "h": 177.108,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.07852,
    "h": 190.5
  },
  "luminance": 0.1654
}

Semantic roles & 50–950 ramp

primary
#2A7D79
secondary
#AD565A
accent
#4F55D9
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2A7D79

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

Preview Lab → · Contrast checker → · Palette generator →

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