#2A7162#2A7162

#2A7162 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 50.0% C 0.075 H 176.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2A7162
RGBrgb(42, 113, 98)
HSLhsl(167, 46%, 30%)
HSVhsv(167, 63%, 44%)
CMYKcmyk(62.8%, 0%, 13.3%, 55.7%)
CIE-LABlab(43.04, -26.04, 1.77)
CIE-LCHlch(43.04, 26.10, 176.12°)
OKLaboklab(49.95% -0.0747 0.0043)
OKLCHoklch(49.95% 0.075 176.7)
XYZxyz(9.0635, 13.1834, 13.6199)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7162 #712A39
analogous
#2A713E #2A7162 #2A5C71
triadic
#2A7162 #622A71 #71622A
tetradic
#2A7162 #3E2A71 #712A39 #5C712A
square
#2A7162 #3E2A71 #712A39 #5C712A
split-complementary
#2A7162 #712A5C #713E2A
monochromatic
#091815 #19443B #2A7162 #3B9E89 #55C0A9

Accessibility & contrast

On white

5.77
#2A7162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2A7162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7162
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7162#FFFFFF#000000##FFFFFF
##2A71621.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6A61
Deuteranopia (green-blind)
#626263
Tritanopia (blue-blind)
#00736C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a7162;
/* rgb */ color: rgb(42, 113, 98);
/* oklch */ color: oklch(50.0% 0.075 176.7);
Tailwind
colors: {
  custom: {
    50: '#6c9a8e',
    500: '#2a7162',
    950: '#000000',
  },
}
SCSS
$custom: #2a7162;
$custom-light: #6c9a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7162",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 98
  },
  "hsl": {
    "h": 167.324,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49953,
    "c": 0.07479,
    "h": 176.7
  },
  "luminance": 0.13184
}

Semantic roles & 50–950 ramp

primary
#2A7162
secondary
#A35465
accent
#526ED5
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #2A7162

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

Preview Lab → · Contrast checker → · Palette generator →

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