#2A9870#2A9870

#2A9870 is a mid, moderate teal. Relative luminance 0.241; OKLCH L 60.8% C 0.115 H 164.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2A9870
RGBrgb(42, 152, 112)
HSLhsl(158, 57%, 38%)
HSVhsv(158, 72%, 60%)
CMYKcmyk(72.4%, 0%, 26.3%, 40.4%)
CIE-LABlab(56.20, -40.39, 12.37)
CIE-LCHlch(56.20, 42.24, 162.98°)
OKLaboklab(60.83% -0.111 0.0316)
OKLCHoklch(60.83% 0.115 164.1)
XYZxyz(15.1061, 24.1168, 19.1850)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9870 #982A52
analogous
#2A9839 #2A9870 #2A8998
triadic
#2A9870 #702A98 #98702A
tetradic
#2A9870 #392A98 #982A52 #89982A
square
#2A9870 #392A98 #982A52 #89982A
split-complementary
#2A9870 #982A89 #98392A
monochromatic
#103829 #1D684D #2A9870 #37C893 #67D5AD

Accessibility & contrast

On white

3.61
#2A9870 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#2A9870 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9870
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9870#FFFFFF#000000##000000
##2A98701.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958D6E
Deuteranopia (green-blind)
#878373
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9870;
/* rgb */ color: rgb(42, 152, 112);
/* oklch */ color: oklch(60.8% 0.115 164.1);
Tailwind
colors: {
  custom: {
    50: '#73b799',
    500: '#2a9870',
    950: '#000000',
  },
}
SCSS
$custom: #2a9870;
$custom-light: #73b799;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9870",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 112
  },
  "hsl": {
    "h": 158.182,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.11542,
    "h": 164.1
  },
  "luminance": 0.24119
}

Semantic roles & 50–950 ramp

primary
#2A9870
secondary
#BB6283
accent
#487FE0
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #2A9870

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

Preview Lab → · Contrast checker → · Palette generator →

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