#1A795C#1A795C

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

Color values

HEX#1A795C
RGBrgb(26, 121, 92)
HSLhsl(162, 65%, 29%)
HSVhsv(162, 79%, 47%)
CMYKcmyk(78.5%, 0%, 24%, 52.5%)
CIE-LABlab(45.17, -34.15, 8.35)
CIE-LCHlch(45.17, 35.16, 166.27°)
OKLaboklab(51.53% -0.0945 0.0213)
OKLCHoklch(51.53% 0.097 167.3)
XYZxyz(9.1941, 14.6660, 12.4694)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A795C #791A37
analogous
#1A792D #1A795C #1A6779
triadic
#1A795C #5C1A79 #795C1A
tetradic
#1A795C #2D1A79 #791A37 #67791A
square
#1A795C #2D1A79 #791A37 #67791A
split-complementary
#1A795C #791A67 #792D1A
monochromatic
#051913 #0F4736 #1A795C #25AB82 #39D4A5

Accessibility & contrast

On white

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

On black

3.93
#1A795C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1A795C#FFFFFF#000000##FFFFFF
##1A795C1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705A
Deuteranopia (green-blind)
#6A675E
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a795c;
/* rgb */ color: rgb(26, 121, 92);
/* oklch */ color: oklch(51.5% 0.097 167.3);
Tailwind
colors: {
  custom: {
    50: '#67a08a',
    500: '#1a795c',
    950: '#000000',
  },
}
SCSS
$custom: #1a795c;
$custom-light: #67a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a795c",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 161.684,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51533,
    "c": 0.0969,
    "h": 167.3
  },
  "luminance": 0.14667
}

Semantic roles & 50–950 ramp

primary
#1A795C
secondary
#AD4162
accent
#4073E8
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1A795C

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

Preview Lab → · Contrast checker → · Palette generator →

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