#2A7964#2A7964

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

Color values

HEX#2A7964
RGBrgb(42, 121, 100)
HSLhsl(164, 48%, 32%)
HSVhsv(164, 65%, 47%)
CMYKcmyk(65.3%, 0%, 17.4%, 52.5%)
CIE-LABlab(45.75, -29.41, 4.49)
CIE-LCHlch(45.75, 29.75, 171.32°)
OKLaboklab(52.18% -0.083 0.0114)
OKLCHoklch(52.18% 0.084 172.2)
XYZxyz(10.0913, 15.0860, 14.4342)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7964 #792A3F
analogous
#2A793D #2A7964 #2A6779
triadic
#2A7964 #642A79 #79642A
tetradic
#2A7964 #3D2A79 #792A3F #67792A
square
#2A7964 #3D2A79 #792A3F #67792A
split-complementary
#2A7964 #792A67 #793D2A
monochromatic
#0A1E19 #1A4C3E #2A7964 #3AA68A #58C5A8

Accessibility & contrast

On white

5.23
#2A7964 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2A7964 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7964
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7964#FFFFFF#000000##FFFFFF
##2A79641.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7964;
/* rgb */ color: rgb(42, 121, 100);
/* oklch */ color: oklch(52.2% 0.084 172.2);
Tailwind
colors: {
  custom: {
    50: '#6da090',
    500: '#2a7964',
    950: '#000000',
  },
}
SCSS
$custom: #2a7964;
$custom-light: #6da090;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7964",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 100
  },
  "hsl": {
    "h": 164.051,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.08376,
    "h": 172.2
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#2A7964
secondary
#AB546B
accent
#5074D8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2A7964

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

Preview Lab → · Contrast checker → · Palette generator →

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