#2A8872#2A8872

#2A8872 is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.6% C 0.093 H 174.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2A8872
RGBrgb(42, 136, 114)
HSLhsl(166, 53%, 35%)
HSVhsv(166, 69%, 53%)
CMYKcmyk(69.1%, 0%, 16.2%, 46.7%)
CIE-LABlab(51.05, -32.77, 3.90)
CIE-LCHlch(51.05, 33.00, 173.20°)
OKLaboklab(56.63% -0.0928 0.0098)
OKLCHoklch(56.63% 0.093 174)
XYZxyz(12.7948, 19.3140, 18.9700)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8872 #882A40
analogous
#2A8843 #2A8872 #2A6F88
triadic
#2A8872 #722A88 #88722A
tetradic
#2A8872 #432A88 #882A40 #6F882A
square
#2A8872 #432A88 #882A40 #6F882A
split-complementary
#2A8872 #882A6F #88432A
monochromatic
#0D2A24 #1C594B #2A8872 #38B799 #5FCEB4

Accessibility & contrast

On white

4.32
#2A8872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2A8872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8872
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8872#FFFFFF#000000##000000
##2A88721.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F71
Deuteranopia (green-blind)
#767674
Tritanopia (blue-blind)
#008A82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8872;
/* rgb */ color: rgb(42, 136, 114);
/* oklch */ color: oklch(56.6% 0.093 174.0);
Tailwind
colors: {
  custom: {
    50: '#71ab9a',
    500: '#2a8872',
    950: '#000000',
  },
}
SCSS
$custom: #2a8872;
$custom-light: #71ab9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8872",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 114
  },
  "hsl": {
    "h": 165.957,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56629,
    "c": 0.09335,
    "h": 174
  },
  "luminance": 0.19315
}

Semantic roles & 50–950 ramp

primary
#2A8872
secondary
#B35B6F
accent
#4C6DDC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #2A8872

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

Preview Lab → · Contrast checker → · Palette generator →

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