#1C795F#1C795F

#1C795F is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.7% C 0.094 H 169.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1C795F
RGBrgb(28, 121, 95)
HSLhsl(163, 62%, 29%)
HSVhsv(163, 77%, 47%)
CMYKcmyk(76.9%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.29, -33.09, 6.74)
CIE-LCHlch(45.29, 33.77, 168.49°)
OKLaboklab(51.66% -0.0922 0.0172)
OKLCHoklch(51.66% 0.094 169.4)
XYZxyz(9.3807, 14.7467, 13.1763)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C795F #791C36
analogous
#1C7931 #1C795F #1C6579
triadic
#1C795F #5F1C79 #795F1C
tetradic
#1C795F #311C79 #791C36 #65791C
square
#1C795F #311C79 #791C36 #65791C
split-complementary
#1C795F #791C65 #79311C
monochromatic
#061914 #104738 #1C795F #28AB86 #3DD2A9

Accessibility & contrast

On white

5.32
#1C795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1C795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C795F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C795F#FFFFFF#000000##FFFFFF
##1C795F1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705E
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1c795f;
/* rgb */ color: rgb(28, 121, 95);
/* oklch */ color: oklch(51.7% 0.094 169.4);
Tailwind
colors: {
  custom: {
    50: '#68a08c',
    500: '#1c795f',
    950: '#000000',
  },
}
SCSS
$custom: #1c795f;
$custom-light: #68a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c795f",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 163.226,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.0938,
    "h": 169.4
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#1C795F
secondary
#AD4461
accent
#4270E5
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #1C795F

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

Preview Lab → · Contrast checker → · Palette generator →

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