#1A795B#1A795B

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

Color values

HEX#1A795B
RGBrgb(26, 121, 91)
HSLhsl(161, 65%, 29%)
HSVhsv(161, 79%, 47%)
CMYKcmyk(78.5%, 0%, 24.8%, 52.5%)
CIE-LABlab(45.15, -34.41, 8.90)
CIE-LCHlch(45.15, 35.55, 165.49°)
OKLaboklab(51.51% -0.095 0.0228)
OKLCHoklch(51.51% 0.098 166.5)
XYZxyz(9.1506, 14.6486, 12.2407)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A795B #791A38
analogous
#1A792C #1A795B #1A6879
triadic
#1A795B #5B1A79 #795B1A
tetradic
#1A795B #2C1A79 #791A38 #68791A
square
#1A795B #2C1A79 #791A38 #68791A
split-complementary
#1A795B #791A68 #792C1A
monochromatic
#051913 #0F4735 #1A795B #25AB81 #39D4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1a795b;
/* rgb */ color: rgb(26, 121, 91);
/* oklch */ color: oklch(51.5% 0.098 166.5);
Tailwind
colors: {
  custom: {
    50: '#67a089',
    500: '#1a795b',
    950: '#000000',
  },
}
SCSS
$custom: #1a795b;
$custom-light: #67a089;
$custom-dark: #000000;
JSON
{
  "hex": "#1a795b",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 161.053,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51505,
    "c": 0.09772,
    "h": 166.5
  },
  "luminance": 0.1465
}

Semantic roles & 50–950 ramp

primary
#1A795B
secondary
#AD4164
accent
#4075E8
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1A795B

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

Preview Lab → · Contrast checker → · Palette generator →

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