#2A9877#2A9877

#2A9877 is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.0% C 0.110 H 168.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2A9877
RGBrgb(42, 152, 119)
HSLhsl(162, 57%, 38%)
HSVhsv(162, 72%, 60%)
CMYKcmyk(72.4%, 0%, 21.7%, 40.4%)
CIE-LABlab(56.37, -38.69, 8.63)
CIE-LCHlch(56.37, 39.64, 167.42°)
OKLaboklab(61.02% -0.1076 0.0221)
OKLCHoklch(61.02% 0.11 168.4)
XYZxyz(15.5111, 24.2788, 21.3180)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9877 #982A4B
analogous
#2A9840 #2A9877 #2A8298
triadic
#2A9877 #772A98 #98772A
tetradic
#2A9877 #402A98 #982A4B #82982A
square
#2A9877 #402A98 #982A4B #82982A
split-complementary
#2A9877 #982A82 #98402A
monochromatic
#10382C #1D6851 #2A9877 #37C89C #67D5B4

Accessibility & contrast

On white

3.59
#2A9877 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#2A9877 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9877
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9877#FFFFFF#000000##000000
##2A98771.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948D75
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9877;
/* rgb */ color: rgb(42, 152, 119);
/* oklch */ color: oklch(61.0% 0.110 168.4);
Tailwind
colors: {
  custom: {
    50: '#74b79e',
    500: '#2a9877',
    950: '#000000',
  },
}
SCSS
$custom: #2a9877;
$custom-light: #74b79e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9877",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 119
  },
  "hsl": {
    "h": 162,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61016,
    "c": 0.1098,
    "h": 168.4
  },
  "luminance": 0.24281
}

Semantic roles & 50–950 ramp

primary
#2A9877
secondary
#BB627D
accent
#4875E0
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2A9877

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

Preview Lab → · Contrast checker → · Palette generator →

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