#2A8670#2A8670

#2A8670 is a mid, moderate teal. Relative luminance 0.187; OKLCH L 56.0% C 0.092 H 173.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2A8670
RGBrgb(42, 134, 112)
HSLhsl(166, 52%, 35%)
HSVhsv(166, 69%, 53%)
CMYKcmyk(68.7%, 0%, 16.4%, 47.5%)
CIE-LABlab(50.35, -32.37, 4.05)
CIE-LCHlch(50.35, 32.62, 172.87°)
OKLaboklab(56.04% -0.0916 0.0102)
OKLCHoklch(56.04% 0.092 173.6)
XYZxyz(12.4031, 18.7109, 18.2840)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8670 #862A40
analogous
#2A8642 #2A8670 #2A6E86
triadic
#2A8670 #702A86 #86702A
tetradic
#2A8670 #422A86 #862A40 #6E862A
square
#2A8670 #422A86 #862A40 #6E862A
split-complementary
#2A8670 #862A6E #86422A
monochromatic
#0D2922 #1B5749 #2A8670 #39B597 #5ECDB2

Accessibility & contrast

On white

4.43
#2A8670 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2A8670 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8670
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8670#FFFFFF#000000##000000
##2A86701.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#817D6F
Deuteranopia (green-blind)
#757472
Tritanopia (blue-blind)
#008780
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8670;
/* rgb */ color: rgb(42, 134, 112);
/* oklch */ color: oklch(56.0% 0.092 173.6);
Tailwind
colors: {
  custom: {
    50: '#70aa99',
    500: '#2a8670',
    950: '#000000',
  },
}
SCSS
$custom: #2a8670;
$custom-light: #70aa99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8670",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 112
  },
  "hsl": {
    "h": 165.652,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56036,
    "c": 0.09219,
    "h": 173.6
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#2A8670
secondary
#B25A6F
accent
#4C6EDC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #2A8670

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

Preview Lab → · Contrast checker → · Palette generator →

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