#2A8B72#2A8B72

#2A8B72 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.4% C 0.097 H 172.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2A8B72
RGBrgb(42, 139, 114)
HSLhsl(165, 54%, 35%)
HSVhsv(165, 70%, 55%)
CMYKcmyk(69.8%, 0%, 18%, 45.5%)
CIE-LABlab(52.03, -34.15, 5.31)
CIE-LCHlch(52.03, 34.56, 171.16°)
OKLaboklab(57.43% -0.0961 0.0135)
OKLCHoklch(57.43% 0.097 172)
XYZxyz(13.2232, 20.1709, 19.1128)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B72 #8B2A43
analogous
#2A8B41 #2A8B72 #2A738B
triadic
#2A8B72 #722A8B #8B722A
tetradic
#2A8B72 #412A8B #8B2A43 #738B2A
square
#2A8B72 #412A8B #8B2A43 #738B2A
split-complementary
#2A8B72 #8B2A73 #8B412A
monochromatic
#0E2D25 #1C5C4B #2A8B72 #38BA99 #60CFB3

Accessibility & contrast

On white

4.17
#2A8B72 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2A8B72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B72
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B72#FFFFFF#000000##000000
##2A8B721.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#878271
Deuteranopia (green-blind)
#797874
Tritanopia (blue-blind)
#008C84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8b72;
/* rgb */ color: rgb(42, 139, 114);
/* oklch */ color: oklch(57.4% 0.097 172.0);
Tailwind
colors: {
  custom: {
    50: '#71ad9a',
    500: '#2a8b72',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b72;
$custom-light: #71ad9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b72",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 114
  },
  "hsl": {
    "h": 164.536,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57427,
    "c": 0.09705,
    "h": 172
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#2A8B72
secondary
#B55C73
accent
#4B70DD
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2A8B72

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

Preview Lab → · Contrast checker → · Palette generator →

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