#2A7866#2A7866

#2A7866 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.081 H 174.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2A7866
RGBrgb(42, 120, 102)
HSLhsl(166, 48%, 32%)
HSVhsv(166, 65%, 47%)
CMYKcmyk(65%, 0%, 15%, 52.9%)
CIE-LABlab(45.47, -28.39, 2.90)
CIE-LCHlch(45.47, 28.54, 174.16°)
OKLaboklab(51.97% -0.0808 0.0073)
OKLCHoklch(51.97% 0.081 174.9)
XYZxyz(10.0684, 14.8834, 14.9100)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7866 #782A3C
analogous
#2A783F #2A7866 #2A6378
triadic
#2A7866 #662A78 #78662A
tetradic
#2A7866 #3F2A78 #782A3C #63782A
square
#2A7866 #3F2A78 #782A3C #63782A
split-complementary
#2A7866 #782A63 #783F2A
monochromatic
#0A1D19 #1A4B3F #2A7866 #3AA58D #58C5AB

Accessibility & contrast

On white

5.28
#2A7866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2A7866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7866
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7866#FFFFFF#000000##FFFFFF
##2A78661.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747065
Deuteranopia (green-blind)
#696867
Tritanopia (blue-blind)
#007973
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7866;
/* rgb */ color: rgb(42, 120, 102);
/* oklch */ color: oklch(52.0% 0.081 174.9);
Tailwind
colors: {
  custom: {
    50: '#6d9f91',
    500: '#2a7866',
    950: '#000000',
  },
}
SCSS
$custom: #2a7866;
$custom-light: #6d9f91;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7866",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 102
  },
  "hsl": {
    "h": 166.154,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.08114,
    "h": 174.9
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#2A7866
secondary
#AA5468
accent
#506FD8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2A7866

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

Preview Lab → · Contrast checker → · Palette generator →

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