#2A8579#2A8579

#2A8579 is a mid, moderate teal. Relative luminance 0.186; OKLCH L 56.1% C 0.086 H 182.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2A8579
RGBrgb(42, 133, 121)
HSLhsl(172, 52%, 34%)
HSVhsv(172, 68%, 52%)
CMYKcmyk(68.4%, 0%, 9%, 47.8%)
CIE-LABlab(50.27, -29.42, -1.31)
CIE-LCHlch(50.27, 29.45, 182.55°)
OKLaboklab(56.06% -0.0861 -0.004)
OKLCHoklch(56.06% 0.086 182.7)
XYZxyz(12.7919, 18.6463, 21.0104)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8579 #852A36
analogous
#2A854C #2A8579 #2A6485
triadic
#2A8579 #792A85 #85792A
tetradic
#2A8579 #4C2A85 #852A36 #64852A
square
#2A8579 #4C2A85 #852A36 #64852A
split-complementary
#2A8579 #852A64 #854C2A
monochromatic
#0D2824 #1B564F #2A8579 #39B4A3 #5DCCBD

Accessibility & contrast

On white

4.44
#2A8579 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2A8579 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8579
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8579#FFFFFF#000000##000000
##2A85791.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7D79
Deuteranopia (green-blind)
#72747A
Tritanopia (blue-blind)
#008881
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8579;
/* rgb */ color: rgb(42, 133, 121);
/* oklch */ color: oklch(56.1% 0.086 182.7);
Tailwind
colors: {
  custom: {
    50: '#70a99f',
    500: '#2a8579',
    950: '#000000',
  },
}
SCSS
$custom: #2a8579;
$custom-light: #70a99f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8579",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 121
  },
  "hsl": {
    "h": 172.088,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56056,
    "c": 0.08618,
    "h": 182.7
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#2A8579
secondary
#B25965
accent
#4C5FDB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #2A8579

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

Preview Lab → · Contrast checker → · Palette generator →

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