#2A7A64#2A7A64

#2A7A64 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.5% C 0.085 H 171.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2A7A64
RGBrgb(42, 122, 100)
HSLhsl(164, 49%, 32%)
HSVhsv(164, 66%, 48%)
CMYKcmyk(65.6%, 0%, 18%, 52.2%)
CIE-LABlab(46.08, -29.89, 4.97)
CIE-LCHlch(46.08, 30.30, 170.57°)
OKLaboklab(52.45% -0.0841 0.0127)
OKLCHoklch(52.45% 0.085 171.4)
XYZxyz(10.2135, 15.3303, 14.4749)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A64 #7A2A40
analogous
#2A7A3C #2A7A64 #2A687A
triadic
#2A7A64 #642A7A #7A642A
tetradic
#2A7A64 #3C2A7A #7A2A40 #687A2A
square
#2A7A64 #3C2A7A #7A2A40 #687A2A
split-complementary
#2A7A64 #7A2A68 #7A3C2A
monochromatic
#0B1F19 #1A4C3F #2A7A64 #3AA889 #59C6A8

Accessibility & contrast

On white

5.16
#2A7A64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2A7A64 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A64
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A64#FFFFFF#000000##FFFFFF
##2A7A641.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767263
Deuteranopia (green-blind)
#6B6A66
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7a64;
/* rgb */ color: rgb(42, 122, 100);
/* oklch */ color: oklch(52.5% 0.085 171.4);
Tailwind
colors: {
  custom: {
    50: '#6da190',
    500: '#2a7a64',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a64;
$custom-light: #6da190;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a64",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 100
  },
  "hsl": {
    "h": 163.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52451,
    "c": 0.08508,
    "h": 171.4
  },
  "luminance": 0.15331
}

Semantic roles & 50–950 ramp

primary
#2A7A64
secondary
#AB556C
accent
#4F75D8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2A7A64

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

Preview Lab → · Contrast checker → · Palette generator →

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