#1C795C#1C795C

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

Color values

HEX#1C795C
RGBrgb(28, 121, 92)
HSLhsl(161, 62%, 29%)
HSVhsv(161, 77%, 47%)
CMYKcmyk(76.9%, 0%, 24%, 52.5%)
CIE-LABlab(45.21, -33.88, 8.41)
CIE-LCHlch(45.21, 34.91, 166.06°)
OKLaboklab(51.58% -0.0937 0.0215)
OKLCHoklch(51.58% 0.096 167.1)
XYZxyz(9.2470, 14.6932, 12.4719)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C795C #791C39
analogous
#1C792E #1C795C #1C6879
triadic
#1C795C #5C1C79 #795C1C
tetradic
#1C795C #2E1C79 #791C39 #68791C
square
#1C795C #2E1C79 #791C39 #68791C
split-complementary
#1C795C #791C68 #792E1C
monochromatic
#061913 #104736 #1C795C #28AB82 #3DD2A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C795C#FFFFFF#000000##FFFFFF
##1C795C1.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)
#6A675E
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1c795c;
/* rgb */ color: rgb(28, 121, 92);
/* oklch */ color: oklch(51.6% 0.096 167.1);
Tailwind
colors: {
  custom: {
    50: '#68a08a',
    500: '#1c795c',
    950: '#000000',
  },
}
SCSS
$custom: #1c795c;
$custom-light: #68a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c795c",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 161.29,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.09618,
    "h": 167.1
  },
  "luminance": 0.14694
}

Semantic roles & 50–950 ramp

primary
#1C795C
secondary
#AD4465
accent
#4275E5
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1C795C

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

Preview Lab → · Contrast checker → · Palette generator →

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