#2A7967#2A7967

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

Color values

HEX#2A7967
RGBrgb(42, 121, 103)
HSLhsl(166, 48%, 32%)
HSVhsv(166, 65%, 47%)
CMYKcmyk(65.3%, 0%, 14.9%, 52.5%)
CIE-LABlab(45.83, -28.61, 2.83)
CIE-LCHlch(45.83, 28.75, 174.36°)
OKLaboklab(52.27% -0.0815 0.0071)
OKLCHoklch(52.27% 0.082 175.1)
XYZxyz(10.2392, 15.1452, 15.2130)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7967 #792A3C
analogous
#2A7940 #2A7967 #2A6479
triadic
#2A7967 #672A79 #79672A
tetradic
#2A7967 #402A79 #792A3C #64792A
square
#2A7967 #402A79 #792A3C #64792A
split-complementary
#2A7967 #792A64 #79402A
monochromatic
#0A1E1A #1A4C40 #2A7967 #3AA68E #58C5AC

Accessibility & contrast

On white

5.21
#2A7967 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7967
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7967#FFFFFF#000000##FFFFFF
##2A79671.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757166
Deuteranopia (green-blind)
#696968
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7967;
/* rgb */ color: rgb(42, 121, 103);
/* oklch */ color: oklch(52.3% 0.082 175.1);
Tailwind
colors: {
  custom: {
    50: '#6da092',
    500: '#2a7967',
    950: '#000000',
  },
}
SCSS
$custom: #2a7967;
$custom-light: #6da092;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7967",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 103
  },
  "hsl": {
    "h": 166.329,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.08177,
    "h": 175.1
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#2A7967
secondary
#AB5468
accent
#506FD8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0D
muted
#7B7E7D

Preview Lab

Preview with #2A7967

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

Preview Lab → · Contrast checker → · Palette generator →

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