#2A7962#2A7962

#2A7962 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.1% C 0.085 H 170.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2A7962
RGBrgb(42, 121, 98)
HSLhsl(163, 48%, 32%)
HSVhsv(163, 65%, 47%)
CMYKcmyk(65.3%, 0%, 19%, 52.5%)
CIE-LABlab(45.70, -29.94, 5.60)
CIE-LCHlch(45.70, 30.46, 169.40°)
OKLaboklab(52.12% -0.084 0.0143)
OKLCHoklch(52.12% 0.085 170.3)
XYZxyz(9.9957, 15.0478, 13.9306)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7962 #792A41
analogous
#2A793B #2A7962 #2A6979
triadic
#2A7962 #622A79 #79622A
tetradic
#2A7962 #3B2A79 #792A41 #69792A
square
#2A7962 #3B2A79 #792A41 #69792A
split-complementary
#2A7962 #792A69 #793B2A
monochromatic
#0A1E18 #1A4C3D #2A7962 #3AA687 #58C5A5

Accessibility & contrast

On white

5.24
#2A7962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2A7962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7962
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7962#FFFFFF#000000##FFFFFF
##2A79621.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767161
Deuteranopia (green-blind)
#6A6964
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7962;
/* rgb */ color: rgb(42, 121, 98);
/* oklch */ color: oklch(52.1% 0.085 170.3);
Tailwind
colors: {
  custom: {
    50: '#6da08e',
    500: '#2a7962',
    950: '#000000',
  },
}
SCSS
$custom: #2a7962;
$custom-light: #6da08e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7962",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 98
  },
  "hsl": {
    "h": 162.532,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52121,
    "c": 0.08521,
    "h": 170.3
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#2A7962
secondary
#AB546D
accent
#5077D8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2A7962

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

Preview Lab → · Contrast checker → · Palette generator →

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