#2A7B71#2A7B71

#2A7B71 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.1% C 0.079 H 183.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2A7B71
RGBrgb(42, 123, 113)
HSLhsl(173, 49%, 32%)
HSVhsv(173, 66%, 48%)
CMYKcmyk(65.9%, 0%, 8.1%, 51.8%)
CIE-LABlab(46.78, -26.80, -1.73)
CIE-LCHlch(46.78, 26.85, 183.69°)
OKLaboklab(53.14% -0.0788 -0.0051)
OKLCHoklch(53.14% 0.079 183.7)
XYZxyz(11.0171, 15.8492, 18.0982)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B71 #7B2A34
analogous
#2A7B49 #2A7B71 #2A5C7B
triadic
#2A7B71 #712A7B #7B712A
tetradic
#2A7B71 #492A7B #7B2A34 #5C7B2A
square
#2A7B71 #492A7B #7B2A34 #5C7B2A
split-complementary
#2A7B71 #7B2A5C #7B492A
monochromatic
#0B201D #1A4D47 #2A7B71 #3AA99B #59C6B9

Accessibility & contrast

On white

5.04
#2A7B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2A7B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7B71
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B71#FFFFFF#000000##FFFFFF
##2A7B711.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757471
Deuteranopia (green-blind)
#696B72
Tritanopia (blue-blind)
#007E78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7b71;
/* rgb */ color: rgb(42, 123, 113);
/* oklch */ color: oklch(53.1% 0.079 183.7);
Tailwind
colors: {
  custom: {
    50: '#6ea199',
    500: '#2a7b71',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b71;
$custom-light: #6ea199;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b71",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 113
  },
  "hsl": {
    "h": 172.593,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53136,
    "c": 0.07896,
    "h": 183.7
  },
  "luminance": 0.1585
}

Semantic roles & 50–950 ramp

primary
#2A7B71
secondary
#AC5560
accent
#4F60D9
background
#F7FAF9
surface
#EDF3F2
border
#C8CDCC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2A7B71

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

Preview Lab → · Contrast checker → · Palette generator →

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