#1B795D#1B795D

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

Color values

HEX#1B795D
RGBrgb(27, 121, 93)
HSLhsl(162, 64%, 29%)
HSVhsv(162, 78%, 47%)
CMYKcmyk(77.7%, 0%, 23.1%, 52.5%)
CIE-LABlab(45.22, -33.76, 7.82)
CIE-LCHlch(45.22, 34.65, 166.96°)
OKLaboklab(51.58% -0.0936 0.02)
OKLCHoklch(51.58% 0.096 167.9)
XYZxyz(9.2641, 14.6970, 12.7024)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B795D #791B37
analogous
#1B792E #1B795D #1B6679
triadic
#1B795D #5D1B79 #795D1B
tetradic
#1B795D #2E1B79 #791B37 #66791B
square
#1B795D #2E1B79 #791B37 #66791B
split-complementary
#1B795D #791B66 #792E1B
monochromatic
#061913 #104737 #1B795D #26AB83 #3BD3A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B795D#FFFFFF#000000##FFFFFF
##1B795D1.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)
#76705C
Deuteranopia (green-blind)
#6A675F
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b795d;
/* rgb */ color: rgb(27, 121, 93);
/* oklch */ color: oklch(51.6% 0.096 167.9);
Tailwind
colors: {
  custom: {
    50: '#67a08b',
    500: '#1b795d',
    950: '#000000',
  },
}
SCSS
$custom: #1b795d;
$custom-light: #67a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b795d",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 162.128,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51582,
    "c": 0.09573,
    "h": 167.9
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#1B795D
secondary
#AD4362
accent
#4172E7
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1B795D

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

Preview Lab → · Contrast checker → · Palette generator →

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