#1B794E#1B794E

#1B794E is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.2% C 0.109 H 158.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#1B794E
RGBrgb(27, 121, 78)
HSLhsl(153, 64%, 29%)
HSVhsv(153, 78%, 47%)
CMYKcmyk(77.7%, 0%, 35.5%, 52.5%)
CIE-LABlab(44.88, -37.40, 16.14)
CIE-LCHlch(44.88, 40.73, 156.66°)
OKLaboklab(51.2% -0.1013 0.0407)
OKLCHoklch(51.2% 0.109 158.1)
XYZxyz(8.6636, 14.4568, 9.5401)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B794E #791B46
analogous
#1B791F #1B794E #1B7579
triadic
#1B794E #4E1B79 #794E1B
tetradic
#1B794E #1F1B79 #791B46 #75791B
square
#1B794E #1F1B79 #791B46 #75791B
split-complementary
#1B794E #791B75 #791F1B
monochromatic
#061910 #10472E #1B794E #26AB6E #3BD38E

Accessibility & contrast

On white

5.40
#1B794E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1B794E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B794E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B794E#FFFFFF#000000##FFFFFF
##1B794E1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4B
Deuteranopia (green-blind)
#6C6751
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b794e;
/* rgb */ color: rgb(27, 121, 78);
/* oklch */ color: oklch(51.2% 0.109 158.1);
Tailwind
colors: {
  custom: {
    50: '#67a080',
    500: '#1b794e',
    950: '#000000',
  },
}
SCSS
$custom: #1b794e;
$custom-light: #67a080;
$custom-dark: #000000;
JSON
{
  "hex": "#1b794e",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 78
  },
  "hsl": {
    "h": 152.553,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51196,
    "c": 0.10921,
    "h": 158.1
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#1B794E
secondary
#AD4373
accent
#418DE7
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1B794E

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

Preview Lab → · Contrast checker → · Palette generator →

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