#2A7968#2A7968

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

Color values

HEX#2A7968
RGBrgb(42, 121, 104)
HSLhsl(167, 48%, 32%)
HSVhsv(167, 65%, 47%)
CMYKcmyk(65.3%, 0%, 14%, 52.5%)
CIE-LABlab(45.86, -28.34, 2.27)
CIE-LCHlch(45.86, 28.43, 175.41°)
OKLaboklab(52.31% -0.081 0.0056)
OKLCHoklch(52.31% 0.081 176.1)
XYZxyz(10.2897, 15.1654, 15.4789)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7968 #792A3B
analogous
#2A7941 #2A7968 #2A6379
triadic
#2A7968 #682A79 #79682A
tetradic
#2A7968 #412A79 #792A3B #63792A
square
#2A7968 #412A79 #792A3B #63792A
split-complementary
#2A7968 #792A63 #79412A
monochromatic
#0A1E1A #1A4C41 #2A7968 #3AA68F #58C5AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7968#FFFFFF#000000##FFFFFF
##2A79681.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)
#757267
Deuteranopia (green-blind)
#696969
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7968;
/* rgb */ color: rgb(42, 121, 104);
/* oklch */ color: oklch(52.3% 0.081 176.1);
Tailwind
colors: {
  custom: {
    50: '#6ea093',
    500: '#2a7968',
    950: '#000000',
  },
}
SCSS
$custom: #2a7968;
$custom-light: #6ea093;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7968",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 104
  },
  "hsl": {
    "h": 167.089,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.08116,
    "h": 176.1
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#2A7968
secondary
#AB5467
accent
#506DD8
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2A7968

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

Preview Lab → · Contrast checker → · Palette generator →

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