#1B795F#1B795F

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

Color values

HEX#1B795F
RGBrgb(27, 121, 95)
HSLhsl(163, 64%, 29%)
HSVhsv(163, 78%, 47%)
CMYKcmyk(77.7%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.27, -33.23, 6.71)
CIE-LCHlch(45.27, 33.90, 168.59°)
OKLaboklab(51.64% -0.0926 0.0171)
OKLCHoklch(51.64% 0.094 169.5)
XYZxyz(9.3538, 14.7329, 13.1750)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B795F #791B35
analogous
#1B7930 #1B795F #1B6479
triadic
#1B795F #5F1B79 #795F1B
tetradic
#1B795F #301B79 #791B35 #64791B
square
#1B795F #301B79 #791B35 #64791B
split-complementary
#1B795F #791B64 #79301B
monochromatic
#061914 #104738 #1B795F #26AB86 #3BD3A9

Accessibility & contrast

On white

5.32
#1B795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1B795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B795F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B795F#FFFFFF#000000##FFFFFF
##1B795F1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705E
Deuteranopia (green-blind)
#696861
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b795f;
/* rgb */ color: rgb(27, 121, 95);
/* oklch */ color: oklch(51.6% 0.094 169.5);
Tailwind
colors: {
  custom: {
    50: '#68a08c',
    500: '#1b795f',
    950: '#000000',
  },
}
SCSS
$custom: #1b795f;
$custom-light: #68a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b795f",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 163.404,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.09416,
    "h": 169.5
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#1B795F
secondary
#AD4360
accent
#416FE7
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #1B795F

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

Preview Lab → · Contrast checker → · Palette generator →

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