#2A7956#2A7956

#2A7956 is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.095 H 160.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2A7956
RGBrgb(42, 121, 86)
HSLhsl(153, 48%, 32%)
HSVhsv(153, 65%, 47%)
CMYKcmyk(65.3%, 0%, 28.9%, 52.5%)
CIE-LABlab(45.41, -32.90, 12.26)
CIE-LCHlch(45.41, 35.11, 159.56°)
OKLaboklab(51.79% -0.0901 0.0312)
OKLCHoklch(51.79% 0.095 160.9)
XYZxyz(9.4710, 14.8379, 11.1672)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7956 #792A4D
analogous
#2A792F #2A7956 #2A7579
triadic
#2A7956 #562A79 #79562A
tetradic
#2A7956 #2F2A79 #792A4D #75792A
square
#2A7956 #2F2A79 #792A4D #75792A
split-complementary
#2A7956 #792A75 #792F2A
monochromatic
#0A1E15 #1A4C36 #2A7956 #3AA676 #58C595

Accessibility & contrast

On white

5.29
#2A7956 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2A7956 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7956
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7956#FFFFFF#000000##FFFFFF
##2A79561.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777054
Deuteranopia (green-blind)
#6D6858
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7956;
/* rgb */ color: rgb(42, 121, 86);
/* oklch */ color: oklch(51.8% 0.095 160.9);
Tailwind
colors: {
  custom: {
    50: '#6da085',
    500: '#2a7956',
    950: '#000000',
  },
}
SCSS
$custom: #2a7956;
$custom-light: #6da085;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7956",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 86
  },
  "hsl": {
    "h": 153.418,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.09537,
    "h": 160.9
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#2A7956
secondary
#AB547A
accent
#508CD8
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2A7956

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

Preview Lab → · Contrast checker → · Palette generator →

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