#2A8870#2A8870

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

Color values

HEX#2A8870
RGBrgb(42, 136, 112)
HSLhsl(165, 53%, 35%)
HSVhsv(165, 69%, 53%)
CMYKcmyk(69.1%, 0%, 17.6%, 46.7%)
CIE-LABlab(51.00, -33.30, 4.99)
CIE-LCHlch(51.00, 33.67, 171.47°)
OKLaboklab(56.57% -0.0938 0.0127)
OKLCHoklch(56.57% 0.095 172.3)
XYZxyz(12.6822, 19.2690, 18.3770)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8870 #882A42
analogous
#2A8841 #2A8870 #2A7188
triadic
#2A8870 #702A88 #88702A
tetradic
#2A8870 #412A88 #882A42 #71882A
square
#2A8870 #412A88 #882A42 #71882A
split-complementary
#2A8870 #882A71 #88412A
monochromatic
#0D2A23 #1C5949 #2A8870 #38B797 #5FCEB1

Accessibility & contrast

On white

4.33
#2A8870 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2A8870 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8870
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8870#FFFFFF#000000##000000
##2A88701.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#847F6F
Deuteranopia (green-blind)
#777672
Tritanopia (blue-blind)
#008981
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8870;
/* rgb */ color: rgb(42, 136, 112);
/* oklch */ color: oklch(56.6% 0.095 172.3);
Tailwind
colors: {
  custom: {
    50: '#70ab99',
    500: '#2a8870',
    950: '#000000',
  },
}
SCSS
$custom: #2a8870;
$custom-light: #70ab99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8870",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 112
  },
  "hsl": {
    "h": 164.681,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56569,
    "c": 0.09467,
    "h": 172.3
  },
  "luminance": 0.1927
}

Semantic roles & 50–950 ramp

primary
#2A8870
secondary
#B35B71
accent
#4C71DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #2A8870

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

Preview Lab → · Contrast checker → · Palette generator →

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