#1D795B#1D795B

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

Color values

HEX#1D795B
RGBrgb(29, 121, 91)
HSLhsl(160, 61%, 29%)
HSVhsv(160, 76%, 47%)
CMYKcmyk(76%, 0%, 24.8%, 52.5%)
CIE-LABlab(45.21, -33.99, 8.99)
CIE-LCHlch(45.21, 35.16, 165.18°)
OKLaboklab(51.57% -0.0939 0.023)
OKLCHoklch(51.57% 0.097 166.2)
XYZxyz(9.2314, 14.6902, 12.2445)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D795B #791D3B
analogous
#1D792D #1D795B #1D6979
triadic
#1D795B #5B1D79 #795B1D
tetradic
#1D795B #2D1D79 #791D3B #69791D
square
#1D795B #2D1D79 #791D3B #69791D
split-complementary
#1D795B #791D69 #792D1D
monochromatic
#061913 #114836 #1D795B #29AA80 #3FD1A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D795B#FFFFFF#000000##FFFFFF
##1D795B1.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)
#767059
Deuteranopia (green-blind)
#6A675D
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1d795b;
/* rgb */ color: rgb(29, 121, 91);
/* oklch */ color: oklch(51.6% 0.097 166.2);
Tailwind
colors: {
  custom: {
    50: '#68a089',
    500: '#1d795b',
    950: '#000000',
  },
}
SCSS
$custom: #1d795b;
$custom-light: #68a089;
$custom-dark: #000000;
JSON
{
  "hex": "#1d795b",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 160.435,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51569,
    "c": 0.09664,
    "h": 166.2
  },
  "luminance": 0.14691
}

Semantic roles & 50–950 ramp

primary
#1D795B
secondary
#AD4567
accent
#4378E4
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1D795B

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

Preview Lab → · Contrast checker → · Palette generator →

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