#2D795F#2D795F

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

Color values

HEX#2D795F
RGBrgb(45, 121, 95)
HSLhsl(159, 46%, 33%)
HSVhsv(159, 63%, 47%)
CMYKcmyk(62.8%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.71, -30.09, 7.41)
CIE-LCHlch(45.71, 30.99, 166.17°)
OKLaboklab(52.13% -0.0838 0.019)
OKLCHoklch(52.13% 0.086 167.2)
XYZxyz(9.9841, 15.0578, 13.2045)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D795F #792D47
analogous
#2D7939 #2D795F #2D6D79
triadic
#2D795F #5F2D79 #795F2D
tetradic
#2D795F #392D79 #792D47 #6D792D
square
#2D795F #392D79 #792D47 #6D792D
split-complementary
#2D795F #792D6D #79392D
monochromatic
#0C2019 #1C4C3C #2D795F #3EA682 #5DC3A0

Accessibility & contrast

On white

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

On black

4.01
#2D795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D795F#FFFFFF#000000##FFFFFF
##2D795F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715E
Deuteranopia (green-blind)
#6B6961
Tritanopia (blue-blind)
#007972
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d795f;
/* rgb */ color: rgb(45, 121, 95);
/* oklch */ color: oklch(52.1% 0.086 167.2);
Tailwind
colors: {
  custom: {
    50: '#6ea08c',
    500: '#2d795f',
    950: '#000000',
  },
}
SCSS
$custom: #2d795f;
$custom-light: #6ea08c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d795f",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 159.474,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.0859,
    "h": 167.2
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#2D795F
secondary
#A95874
accent
#527FD5
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2D795F

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

Preview Lab → · Contrast checker → · Palette generator →

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