#2A9872#2A9872

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

Color values

HEX#2A9872
RGBrgb(42, 152, 114)
HSLhsl(159, 57%, 38%)
HSVhsv(159, 72%, 60%)
CMYKcmyk(72.4%, 0%, 25%, 40.4%)
CIE-LABlab(56.25, -39.91, 11.30)
CIE-LCHlch(56.25, 41.48, 164.19°)
OKLaboklab(60.88% -0.11 0.0289)
OKLCHoklch(60.88% 0.114 165.3)
XYZxyz(15.2187, 24.1619, 19.7780)
Luminance0.2416 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9872 #982A50
analogous
#2A983B #2A9872 #2A8798
triadic
#2A9872 #722A98 #98722A
tetradic
#2A9872 #3B2A98 #982A50 #87982A
square
#2A9872 #3B2A98 #982A50 #87982A
split-complementary
#2A9872 #982A87 #983B2A
monochromatic
#10382A #1D684E #2A9872 #37C896 #67D5AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9872#FFFFFF#000000##000000
##2A98721.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)
#958D70
Deuteranopia (green-blind)
#878374
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9872;
/* rgb */ color: rgb(42, 152, 114);
/* oklch */ color: oklch(60.9% 0.114 165.3);
Tailwind
colors: {
  custom: {
    50: '#73b79a',
    500: '#2a9872',
    950: '#000000',
  },
}
SCSS
$custom: #2a9872;
$custom-light: #73b79a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9872",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 114
  },
  "hsl": {
    "h": 159.273,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60882,
    "c": 0.11375,
    "h": 165.3
  },
  "luminance": 0.24164
}

Semantic roles & 50–950 ramp

primary
#2A9872
secondary
#BB6281
accent
#487CE0
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2A9872

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

Preview Lab → · Contrast checker → · Palette generator →

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