#2A7960#2A7960

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

Color values

HEX#2A7960
RGBrgb(42, 121, 96)
HSLhsl(161, 48%, 32%)
HSVhsv(161, 65%, 47%)
CMYKcmyk(65.3%, 0%, 20.7%, 52.5%)
CIE-LABlab(45.65, -30.45, 6.71)
CIE-LCHlch(45.65, 31.18, 167.57°)
OKLaboklab(52.06% -0.085 0.0172)
OKLCHoklch(52.06% 0.087 168.6)
XYZxyz(9.9025, 15.0105, 13.4395)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7960 #792A43
analogous
#2A7939 #2A7960 #2A6B79
triadic
#2A7960 #602A79 #79602A
tetradic
#2A7960 #392A79 #792A43 #6B792A
square
#2A7960 #392A79 #792A43 #6B792A
split-complementary
#2A7960 #792A6B #79392A
monochromatic
#0A1E18 #1A4C3C #2A7960 #3AA684 #58C5A3

Accessibility & contrast

On white

5.25
#2A7960 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2A7960 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7960
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7960#FFFFFF#000000##FFFFFF
##2A79601.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715F
Deuteranopia (green-blind)
#6B6962
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7960;
/* rgb */ color: rgb(42, 121, 96);
/* oklch */ color: oklch(52.1% 0.087 168.6);
Tailwind
colors: {
  custom: {
    50: '#6da08d',
    500: '#2a7960',
    950: '#000000',
  },
}
SCSS
$custom: #2a7960;
$custom-light: #6da08d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7960",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 96
  },
  "hsl": {
    "h": 161.013,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52063,
    "c": 0.08673,
    "h": 168.6
  },
  "luminance": 0.15012
}

Semantic roles & 50–950 ramp

primary
#2A7960
secondary
#AB5470
accent
#507BD8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2A7960

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

Preview Lab → · Contrast checker → · Palette generator →

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