#2A7966#2A7966

#2A7966 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.082 H 174.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2A7966
RGBrgb(42, 121, 102)
HSLhsl(166, 48%, 32%)
HSVhsv(166, 65%, 47%)
CMYKcmyk(65.3%, 0%, 15.7%, 52.5%)
CIE-LABlab(45.81, -28.88, 3.38)
CIE-LCHlch(45.81, 29.08, 173.32°)
OKLaboklab(52.24% -0.082 0.0085)
OKLCHoklch(52.24% 0.082 174.1)
XYZxyz(10.1893, 15.1252, 14.9503)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7966 #792A3D
analogous
#2A793F #2A7966 #2A6579
triadic
#2A7966 #662A79 #79662A
tetradic
#2A7966 #3F2A79 #792A3D #65792A
square
#2A7966 #3F2A79 #792A3D #65792A
split-complementary
#2A7966 #792A65 #793F2A
monochromatic
#0A1E19 #1A4C40 #2A7966 #3AA68C #58C5AB

Accessibility & contrast

On white

5.22
#2A7966 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2A7966 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7966
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7966#FFFFFF#000000##FFFFFF
##2A79661.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757165
Deuteranopia (green-blind)
#6A6967
Tritanopia (blue-blind)
#007A73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7966;
/* rgb */ color: rgb(42, 121, 102);
/* oklch */ color: oklch(52.2% 0.082 174.1);
Tailwind
colors: {
  custom: {
    50: '#6da091',
    500: '#2a7966',
    950: '#000000',
  },
}
SCSS
$custom: #2a7966;
$custom-light: #6da091;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7966",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 102
  },
  "hsl": {
    "h": 165.57,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.08242,
    "h": 174.1
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#2A7966
secondary
#AB5469
accent
#5071D8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2A7966

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

Preview Lab → · Contrast checker → · Palette generator →

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