#2A9871#2A9871

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

Color values

HEX#2A9871
RGBrgb(42, 152, 113)
HSLhsl(159, 57%, 38%)
HSVhsv(159, 72%, 60%)
CMYKcmyk(72.4%, 0%, 25.7%, 40.4%)
CIE-LABlab(56.23, -40.15, 11.83)
CIE-LCHlch(56.23, 41.86, 163.58°)
OKLaboklab(60.86% -0.1105 0.0302)
OKLCHoklch(60.86% 0.115 164.7)
XYZxyz(15.1621, 24.1392, 19.4798)
Luminance0.2414 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9871 #982A51
analogous
#2A983A #2A9871 #2A8898
triadic
#2A9871 #712A98 #98712A
tetradic
#2A9871 #3A2A98 #982A51 #88982A
square
#2A9871 #3A2A98 #982A51 #88982A
split-complementary
#2A9871 #982A88 #983A2A
monochromatic
#10382A #1D684D #2A9871 #37C895 #67D5AE

Accessibility & contrast

On white

3.60
#2A9871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#2A9871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9871
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9871#FFFFFF#000000##000000
##2A98711.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a9871;
/* rgb */ color: rgb(42, 152, 113);
/* oklch */ color: oklch(60.9% 0.115 164.7);
Tailwind
colors: {
  custom: {
    50: '#73b799',
    500: '#2a9871',
    950: '#000000',
  },
}
SCSS
$custom: #2a9871;
$custom-light: #73b799;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9871",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 113
  },
  "hsl": {
    "h": 158.727,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60856,
    "c": 0.11459,
    "h": 164.7
  },
  "luminance": 0.24141
}

Semantic roles & 50–950 ramp

primary
#2A9871
secondary
#BB6282
accent
#487EE0
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2A9871

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

Preview Lab → · Contrast checker → · Palette generator →

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