#2D795E#2D795E

#2D795E is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.1% C 0.087 H 166.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2D795E
RGBrgb(45, 121, 94)
HSLhsl(159, 46%, 33%)
HSVhsv(159, 63%, 47%)
CMYKcmyk(62.8%, 0%, 22.3%, 52.5%)
CIE-LABlab(45.69, -30.34, 7.96)
CIE-LCHlch(45.69, 31.37, 165.30°)
OKLaboklab(52.1% -0.0843 0.0204)
OKLCHoklch(52.1% 0.087 166.4)
XYZxyz(9.9389, 15.0398, 12.9667)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D795E #792D48
analogous
#2D7938 #2D795E #2D6E79
triadic
#2D795E #5E2D79 #795E2D
tetradic
#2D795E #382D79 #792D48 #6E792D
square
#2D795E #382D79 #792D48 #6E792D
split-complementary
#2D795E #792D6E #79382D
monochromatic
#0C2019 #1C4C3B #2D795E #3EA681 #5DC39F

Accessibility & contrast

On white

5.24
#2D795E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D795E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D795E#FFFFFF#000000##FFFFFF
##2D795E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715D
Deuteranopia (green-blind)
#6C6960
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d795e;
/* rgb */ color: rgb(45, 121, 94);
/* oklch */ color: oklch(52.1% 0.087 166.4);
Tailwind
colors: {
  custom: {
    50: '#6ea08b',
    500: '#2d795e',
    950: '#000000',
  },
}
SCSS
$custom: #2d795e;
$custom-light: #6ea08b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d795e",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 158.684,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.08671,
    "h": 166.4
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#2D795E
secondary
#A95875
accent
#5281D5
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2D795E

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

Preview Lab → · Contrast checker → · Palette generator →

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