#2A9879#2A9879

#2A9879 is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.1% C 0.108 H 169.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2A9879
RGBrgb(42, 152, 121)
HSLhsl(163, 57%, 38%)
HSVhsv(163, 72%, 60%)
CMYKcmyk(72.4%, 0%, 20.4%, 40.4%)
CIE-LABlab(56.41, -38.18, 7.57)
CIE-LCHlch(56.41, 38.93, 168.79°)
OKLaboklab(61.07% -0.1066 0.0193)
OKLCHoklch(61.07% 0.108 169.7)
XYZxyz(15.6325, 24.3274, 21.9572)
Luminance0.2433 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9879 #982A49
analogous
#2A9842 #2A9879 #2A8098
triadic
#2A9879 #792A98 #98792A
tetradic
#2A9879 #422A98 #982A49 #80982A
square
#2A9879 #422A98 #982A49 #80982A
split-complementary
#2A9879 #982A80 #98422A
monochromatic
#10382D #1D6853 #2A9879 #37C89F #67D5B6

Accessibility & contrast

On white

3.58
#2A9879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#2A9879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9879
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9879#FFFFFF#000000##000000
##2A98791.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E77
Deuteranopia (green-blind)
#85837B
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9879;
/* rgb */ color: rgb(42, 152, 121);
/* oklch */ color: oklch(61.1% 0.108 169.7);
Tailwind
colors: {
  custom: {
    50: '#74b79f',
    500: '#2a9879',
    950: '#000000',
  },
}
SCSS
$custom: #2a9879;
$custom-light: #74b79f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9879",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 121
  },
  "hsl": {
    "h": 163.091,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.10832,
    "h": 169.7
  },
  "luminance": 0.24329
}

Semantic roles & 50–950 ramp

primary
#2A9879
secondary
#BB627B
accent
#4873E0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2A9879

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

Preview Lab → · Contrast checker → · Palette generator →

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