#1B795C#1B795C

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

Color values

HEX#1B795C
RGBrgb(27, 121, 92)
HSLhsl(161, 64%, 29%)
HSVhsv(161, 78%, 47%)
CMYKcmyk(77.7%, 0%, 24%, 52.5%)
CIE-LABlab(45.19, -34.02, 8.38)
CIE-LCHlch(45.19, 35.03, 166.17°)
OKLaboklab(51.55% -0.0941 0.0214)
OKLCHoklch(51.55% 0.097 167.2)
XYZxyz(9.2201, 14.6794, 12.4706)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B795C #791B38
analogous
#1B792D #1B795C #1B6779
triadic
#1B795C #5C1B79 #795C1B
tetradic
#1B795C #2D1B79 #791B38 #67791B
square
#1B795C #2D1B79 #791B38 #67791B
split-complementary
#1B795C #791B67 #792D1B
monochromatic
#061913 #104736 #1B795C #26AB82 #3BD3A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B795C#FFFFFF#000000##FFFFFF
##1B795C1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.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: #1b795c;
/* rgb */ color: rgb(27, 121, 92);
/* oklch */ color: oklch(51.6% 0.097 167.2);
Tailwind
colors: {
  custom: {
    50: '#67a08a',
    500: '#1b795c',
    950: '#000000',
  },
}
SCSS
$custom: #1b795c;
$custom-light: #67a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b795c",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 161.489,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51554,
    "c": 0.09654,
    "h": 167.2
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

primary
#1B795C
secondary
#AD4363
accent
#4174E7
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1B795C

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

Preview Lab → · Contrast checker → · Palette generator →

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