#1B794D#1B794D

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

Color values

HEX#1B794D
RGBrgb(27, 121, 77)
HSLhsl(152, 64%, 29%)
HSVhsv(152, 78%, 47%)
CMYKcmyk(77.7%, 0%, 36.4%, 52.5%)
CIE-LABlab(44.86, -37.62, 16.69)
CIE-LCHlch(44.86, 41.15, 156.08°)
OKLaboklab(51.17% -0.1019 0.042)
OKLCHoklch(51.17% 0.11 157.6)
XYZxyz(8.6281, 14.4426, 9.3527)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B794D #791B47
analogous
#1B791E #1B794D #1B7679
triadic
#1B794D #4D1B79 #794D1B
tetradic
#1B794D #1E1B79 #791B47 #76791B
square
#1B794D #1E1B79 #791B47 #76791B
split-complementary
#1B794D #791B76 #791E1B
monochromatic
#061910 #10472D #1B794D #26AB6D #3BD38C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B794D#FFFFFF#000000##FFFFFF
##1B794D1.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)
#786F4A
Deuteranopia (green-blind)
#6D6750
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b794d;
/* rgb */ color: rgb(27, 121, 77);
/* oklch */ color: oklch(51.2% 0.110 157.6);
Tailwind
colors: {
  custom: {
    50: '#67a07f',
    500: '#1b794d',
    950: '#000000',
  },
}
SCSS
$custom: #1b794d;
$custom-light: #67a07f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b794d",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 77
  },
  "hsl": {
    "h": 151.915,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51173,
    "c": 0.11018,
    "h": 157.6
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#1B794D
secondary
#AD4374
accent
#418FE7
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1B794D

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

Preview Lab → · Contrast checker → · Palette generator →

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