#1D795C#1D795C

#1D795C is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.6% C 0.096 H 167.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#1D795C
RGBrgb(29, 121, 92)
HSLhsl(161, 61%, 29%)
HSVhsv(161, 76%, 47%)
CMYKcmyk(76%, 0%, 24%, 52.5%)
CIE-LABlab(45.23, -33.73, 8.44)
CIE-LCHlch(45.23, 34.77, 165.96°)
OKLaboklab(51.6% -0.0933 0.0216)
OKLCHoklch(51.6% 0.096 167)
XYZxyz(9.2748, 14.7076, 12.4732)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D795C #791D3A
analogous
#1D792E #1D795C #1D6879
triadic
#1D795C #5C1D79 #795C1D
tetradic
#1D795C #2E1D79 #791D3A #68791D
square
#1D795C #2E1D79 #791D3A #68791D
split-complementary
#1D795C #791D68 #792E1D
monochromatic
#061913 #114836 #1D795C #29AA82 #3FD1A3

Accessibility & contrast

On white

5.33
#1D795C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1D795C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D795C
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D795C#FFFFFF#000000##FFFFFF
##1D795C1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705A
Deuteranopia (green-blind)
#6A685E
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1d795c;
/* rgb */ color: rgb(29, 121, 92);
/* oklch */ color: oklch(51.6% 0.096 167.0);
Tailwind
colors: {
  custom: {
    50: '#68a08a',
    500: '#1d795c',
    950: '#000000',
  },
}
SCSS
$custom: #1d795c;
$custom-light: #68a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d795c",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 161.087,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.09581,
    "h": 167
  },
  "luminance": 0.14709
}

Semantic roles & 50–950 ramp

primary
#1D795C
secondary
#AD4566
accent
#4376E4
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1D795C

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

Preview Lab → · Contrast checker → · Palette generator →

#1D795C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva