#2A8974#2A8974

#2A8974 is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.0% C 0.093 H 175.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A8974
RGBrgb(42, 137, 116)
HSLhsl(167, 53%, 35%)
HSVhsv(167, 69%, 54%)
CMYKcmyk(69.3%, 0%, 15.3%, 46.3%)
CIE-LABlab(51.43, -32.70, 3.29)
CIE-LCHlch(51.43, 32.86, 174.25°)
OKLaboklab(56.96% -0.0929 0.0082)
OKLCHoklch(56.96% 0.093 175)
XYZxyz(13.0513, 19.6431, 19.6233)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8974 #892A3F
analogous
#2A8945 #2A8974 #2A6E89
triadic
#2A8974 #742A89 #89742A
tetradic
#2A8974 #452A89 #892A3F #6E892A
square
#2A8974 #452A89 #892A3F #6E892A
split-complementary
#2A8974 #892A6E #89452A
monochromatic
#0D2B25 #1C5A4C #2A8974 #38B89C #5FCEB6

Accessibility & contrast

On white

4.26
#2A8974 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2A8974 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8974
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8974#FFFFFF#000000##000000
##2A89741.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#848073
Deuteranopia (green-blind)
#777776
Tritanopia (blue-blind)
#008B83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8974;
/* rgb */ color: rgb(42, 137, 116);
/* oklch */ color: oklch(57.0% 0.093 175.0);
Tailwind
colors: {
  custom: {
    50: '#71ac9c',
    500: '#2a8974',
    950: '#000000',
  },
}
SCSS
$custom: #2a8974;
$custom-light: #71ac9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8974",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 116
  },
  "hsl": {
    "h": 166.737,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56956,
    "c": 0.09329,
    "h": 175
  },
  "luminance": 0.19645
}

Semantic roles & 50–950 ramp

primary
#2A8974
secondary
#B45B6F
accent
#4B6BDC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #2A8974

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

Preview Lab → · Contrast checker → · Palette generator →

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