#1C795B#1C795B

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

Color values

HEX#1C795B
RGBrgb(28, 121, 91)
HSLhsl(161, 62%, 29%)
HSVhsv(161, 77%, 47%)
CMYKcmyk(76.9%, 0%, 24.8%, 52.5%)
CIE-LABlab(45.19, -34.14, 8.96)
CIE-LCHlch(45.19, 35.29, 165.29°)
OKLaboklab(51.55% -0.0943 0.0229)
OKLCHoklch(51.55% 0.097 166.3)
XYZxyz(9.2035, 14.6759, 12.2432)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C795B #791C3A
analogous
#1C792D #1C795B #1C6979
triadic
#1C795B #5B1C79 #795B1C
tetradic
#1C795B #2D1C79 #791C3A #69791C
square
#1C795B #2D1C79 #791C3A #69791C
split-complementary
#1C795B #791C69 #792D1C
monochromatic
#061913 #104736 #1C795B #28AB80 #3DD2A2

Accessibility & contrast

On white

5.34
#1C795B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C795B
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C795B#FFFFFF#000000##FFFFFF
##1C795B1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.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: #1c795b;
/* rgb */ color: rgb(28, 121, 91);
/* oklch */ color: oklch(51.5% 0.097 166.3);
Tailwind
colors: {
  custom: {
    50: '#68a089',
    500: '#1c795b',
    950: '#000000',
  },
}
SCSS
$custom: #1c795b;
$custom-light: #68a089;
$custom-dark: #000000;
JSON
{
  "hex": "#1c795b",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 160.645,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51547,
    "c": 0.09701,
    "h": 166.3
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#1C795B
secondary
#AD4466
accent
#4277E5
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1C795B

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

Preview Lab → · Contrast checker → · Palette generator →

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