#1B795B#1B795B

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

Color values

HEX#1B795B
RGBrgb(27, 121, 91)
HSLhsl(161, 64%, 29%)
HSVhsv(161, 78%, 47%)
CMYKcmyk(77.7%, 0%, 24.8%, 52.5%)
CIE-LABlab(45.17, -34.28, 8.93)
CIE-LCHlch(45.17, 35.42, 165.39°)
OKLaboklab(51.53% -0.0947 0.0228)
OKLCHoklch(51.53% 0.097 166.4)
XYZxyz(9.1766, 14.6620, 12.2419)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B795B #791B39
analogous
#1B792C #1B795B #1B6879
triadic
#1B795B #5B1B79 #795B1B
tetradic
#1B795B #2C1B79 #791B39 #68791B
square
#1B795B #2C1B79 #791B39 #68791B
split-complementary
#1B795B #791B68 #792C1B
monochromatic
#061913 #104735 #1B795B #26AB81 #3BD3A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B795B#FFFFFF#000000##FFFFFF
##1B795B1.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: #1b795b;
/* rgb */ color: rgb(27, 121, 91);
/* oklch */ color: oklch(51.5% 0.097 166.4);
Tailwind
colors: {
  custom: {
    50: '#67a089',
    500: '#1b795b',
    950: '#000000',
  },
}
SCSS
$custom: #1b795b;
$custom-light: #67a089;
$custom-dark: #000000;
JSON
{
  "hex": "#1b795b",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 160.851,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51526,
    "c": 0.09737,
    "h": 166.4
  },
  "luminance": 0.14663
}

Semantic roles & 50–950 ramp

primary
#1B795B
secondary
#AD4365
accent
#4176E7
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1B795B

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

Preview Lab → · Contrast checker → · Palette generator →

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