#2A8671#2A8671

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

Color values

HEX#2A8671
RGBrgb(42, 134, 113)
HSLhsl(166, 52%, 35%)
HSVhsv(166, 69%, 53%)
CMYKcmyk(68.7%, 0%, 15.7%, 47.5%)
CIE-LABlab(50.37, -32.10, 3.51)
CIE-LCHlch(50.37, 32.29, 173.76°)
OKLaboklab(56.07% -0.0911 0.0088)
OKLCHoklch(56.07% 0.092 174.5)
XYZxyz(12.4591, 18.7333, 18.5789)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8671 #862A3F
analogous
#2A8643 #2A8671 #2A6D86
triadic
#2A8671 #712A86 #86712A
tetradic
#2A8671 #432A86 #862A3F #6D862A
square
#2A8671 #432A86 #862A3F #6D862A
split-complementary
#2A8671 #862A6D #86432A
monochromatic
#0D2922 #1B574A #2A8671 #39B598 #5ECDB3

Accessibility & contrast

On white

4.42
#2A8671 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2A8671 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8671
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8671#FFFFFF#000000##000000
##2A86711.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#817D70
Deuteranopia (green-blind)
#747473
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8671;
/* rgb */ color: rgb(42, 134, 113);
/* oklch */ color: oklch(56.1% 0.092 174.5);
Tailwind
colors: {
  custom: {
    50: '#70aa99',
    500: '#2a8671',
    950: '#000000',
  },
}
SCSS
$custom: #2a8671;
$custom-light: #70aa99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8671",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 113
  },
  "hsl": {
    "h": 166.304,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56066,
    "c": 0.09154,
    "h": 174.5
  },
  "luminance": 0.18735
}

Semantic roles & 50–950 ramp

primary
#2A8671
secondary
#B25A6E
accent
#4C6DDC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #2A8671

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

Preview Lab → · Contrast checker → · Palette generator →

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