#2D7A56#2D7A56

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

Color values

HEX#2D7A56
RGBrgb(45, 122, 86)
HSLhsl(152, 46%, 33%)
HSVhsv(152, 63%, 48%)
CMYKcmyk(63.1%, 0%, 29.5%, 52.2%)
CIE-LABlab(45.84, -32.71, 12.87)
CIE-LCHlch(45.84, 35.15, 158.53°)
OKLaboklab(52.16% -0.0895 0.0327)
OKLCHoklch(52.16% 0.095 159.9)
XYZxyz(9.7205, 15.1479, 11.2139)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A56 #7A2D51
analogous
#2D7A2F #2D7A56 #2D777A
triadic
#2D7A56 #562D7A #7A562D
tetradic
#2D7A56 #2F2D7A #7A2D51 #777A2D
square
#2D7A56 #2F2D7A #7A2D51 #777A2D
split-complementary
#2D7A56 #7A2D77 #7A2F2D
monochromatic
#0C2117 #1D4D36 #2D7A56 #3DA776 #5EC494

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7A56#FFFFFF#000000##FFFFFF
##2D7A561.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)
#797154
Deuteranopia (green-blind)
#6E6958
Tritanopia (blue-blind)
#057970
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7a56;
/* rgb */ color: rgb(45, 122, 86);
/* oklch */ color: oklch(52.2% 0.095 159.9);
Tailwind
colors: {
  custom: {
    50: '#6ea185',
    500: '#2d7a56',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a56;
$custom-light: #6ea185;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a56",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 86
  },
  "hsl": {
    "h": 151.948,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52164,
    "c": 0.09531,
    "h": 159.9
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#2D7A56
secondary
#AA597F
accent
#5290D6
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2D7A56

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

Preview Lab → · Contrast checker → · Palette generator →

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