#2A8772#2A8772

#2A8772 is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.4% C 0.092 H 174.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2A8772
RGBrgb(42, 135, 114)
HSLhsl(166, 53%, 35%)
HSVhsv(166, 69%, 53%)
CMYKcmyk(68.9%, 0%, 15.6%, 47.1%)
CIE-LABlab(50.73, -32.30, 3.43)
CIE-LCHlch(50.73, 32.48, 173.93°)
OKLaboklab(56.36% -0.0917 0.0086)
OKLCHoklch(56.36% 0.092 174.6)
XYZxyz(12.6546, 19.0337, 18.9233)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8772 #872A3F
analogous
#2A8744 #2A8772 #2A6D87
triadic
#2A8772 #722A87 #87722A
tetradic
#2A8772 #442A87 #872A3F #6D872A
square
#2A8772 #442A87 #872A3F #6D872A
split-complementary
#2A8772 #872A6D #87442A
monochromatic
#0D2A23 #1B584B #2A8772 #39B699 #5ECDB4

Accessibility & contrast

On white

4.37
#2A8772 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2A8772 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8772
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8772#FFFFFF#000000##000000
##2A87721.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827E71
Deuteranopia (green-blind)
#757574
Tritanopia (blue-blind)
#008981
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8772;
/* rgb */ color: rgb(42, 135, 114);
/* oklch */ color: oklch(56.4% 0.092 174.6);
Tailwind
colors: {
  custom: {
    50: '#70aa9a',
    500: '#2a8772',
    950: '#000000',
  },
}
SCSS
$custom: #2a8772;
$custom-light: #70aa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8772",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 114
  },
  "hsl": {
    "h": 166.452,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56363,
    "c": 0.09213,
    "h": 174.6
  },
  "luminance": 0.19035
}

Semantic roles & 50–950 ramp

primary
#2A8772
secondary
#B35A6E
accent
#4C6CDC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #2A8772

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

Preview Lab → · Contrast checker → · Palette generator →

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