#2A8871#2A8871

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

Color values

HEX#2A8871
RGBrgb(42, 136, 113)
HSLhsl(165, 53%, 35%)
HSVhsv(165, 69%, 53%)
CMYKcmyk(69.1%, 0%, 16.9%, 46.7%)
CIE-LABlab(51.03, -33.03, 4.45)
CIE-LCHlch(51.03, 33.33, 172.33°)
OKLaboklab(56.6% -0.0933 0.0113)
OKLCHoklch(56.6% 0.094 173.1)
XYZxyz(12.7382, 19.2914, 18.6719)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8871 #882A41
analogous
#2A8842 #2A8871 #2A7088
triadic
#2A8871 #712A88 #88712A
tetradic
#2A8871 #422A88 #882A41 #70882A
square
#2A8871 #422A88 #882A41 #70882A
split-complementary
#2A8871 #882A70 #88422A
monochromatic
#0D2A23 #1C594A #2A8871 #38B798 #5FCEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8871#FFFFFF#000000##000000
##2A88711.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)
#837F70
Deuteranopia (green-blind)
#767673
Tritanopia (blue-blind)
#008981
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8871;
/* rgb */ color: rgb(42, 136, 113);
/* oklch */ color: oklch(56.6% 0.094 173.1);
Tailwind
colors: {
  custom: {
    50: '#70ab99',
    500: '#2a8871',
    950: '#000000',
  },
}
SCSS
$custom: #2a8871;
$custom-light: #70ab99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8871",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 113
  },
  "hsl": {
    "h": 165.319,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56599,
    "c": 0.094,
    "h": 173.1
  },
  "luminance": 0.19293
}

Semantic roles & 50–950 ramp

primary
#2A8871
secondary
#B35B70
accent
#4C6FDC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #2A8871

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

Preview Lab → · Contrast checker → · Palette generator →

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