#2A816D#2A816D

#2A816D is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.6% C 0.088 H 174.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2A816D
RGBrgb(42, 129, 109)
HSLhsl(166, 51%, 34%)
HSVhsv(166, 67%, 51%)
CMYKcmyk(67.4%, 0%, 15.5%, 49.4%)
CIE-LABlab(48.63, -30.82, 3.33)
CIE-LCHlch(48.63, 31.00, 173.84°)
OKLaboklab(54.61% -0.0875 0.0083)
OKLCHoklch(54.61% 0.088 174.6)
XYZxyz(11.5641, 17.2956, 17.1940)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A816D #812A3E
analogous
#2A8141 #2A816D #2A6981
triadic
#2A816D #6D2A81 #816D2A
tetradic
#2A816D #412A81 #812A3E #69812A
square
#2A816D #412A81 #812A3E #69812A
split-complementary
#2A816D #812A69 #81412A
monochromatic
#0C251F #1B5346 #2A816D #39AF94 #5CCAB0

Accessibility & contrast

On white

4.71
#2A816D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2A816D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A816D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A816D#FFFFFF#000000##FFFFFF
##2A816D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C796C
Deuteranopia (green-blind)
#70706E
Tritanopia (blue-blind)
#00837B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a816d;
/* rgb */ color: rgb(42, 129, 109);
/* oklch */ color: oklch(54.6% 0.088 174.6);
Tailwind
colors: {
  custom: {
    50: '#6fa696',
    500: '#2a816d',
    950: '#000000',
  },
}
SCSS
$custom: #2a816d;
$custom-light: #6fa696;
$custom-dark: #000000;
JSON
{
  "hex": "#2a816d",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 109
  },
  "hsl": {
    "h": 166.207,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.08795,
    "h": 174.6
  },
  "luminance": 0.17297
}

Semantic roles & 50–950 ramp

primary
#2A816D
secondary
#AF576C
accent
#4D6EDA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #2A816D

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

Preview Lab → · Contrast checker → · Palette generator →

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