#1B795E#1B795E

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

Color values

HEX#1B795E
RGBrgb(27, 121, 94)
HSLhsl(163, 64%, 29%)
HSVhsv(163, 78%, 47%)
CMYKcmyk(77.7%, 0%, 22.3%, 52.5%)
CIE-LABlab(45.24, -33.50, 7.26)
CIE-LCHlch(45.24, 34.28, 167.76°)
OKLaboklab(51.61% -0.0931 0.0186)
OKLCHoklch(51.61% 0.095 168.7)
XYZxyz(9.3087, 14.7148, 12.9371)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B795E #791B36
analogous
#1B792F #1B795E #1B6579
triadic
#1B795E #5E1B79 #795E1B
tetradic
#1B795E #2F1B79 #791B36 #65791B
square
#1B795E #2F1B79 #791B36 #65791B
split-complementary
#1B795E #791B65 #792F1B
monochromatic
#061913 #104737 #1B795E #26AB85 #3BD3A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B795E#FFFFFF#000000##FFFFFF
##1B795E1.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)
#76705D
Deuteranopia (green-blind)
#6A6760
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b795e;
/* rgb */ color: rgb(27, 121, 94);
/* oklch */ color: oklch(51.6% 0.095 168.7);
Tailwind
colors: {
  custom: {
    50: '#68a08b',
    500: '#1b795e',
    950: '#000000',
  },
}
SCSS
$custom: #1b795e;
$custom-light: #68a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b795e",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 162.766,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.09494,
    "h": 168.7
  },
  "luminance": 0.14716
}

Semantic roles & 50–950 ramp

primary
#1B795E
secondary
#AD4361
accent
#4171E7
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #1B795E

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

Preview Lab → · Contrast checker → · Palette generator →

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