#1B794C#1B794C

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

Color values

HEX#1B794C
RGBrgb(27, 121, 76)
HSLhsl(151, 64%, 29%)
HSVhsv(151, 78%, 47%)
CMYKcmyk(77.7%, 0%, 37.2%, 52.5%)
CIE-LABlab(44.84, -37.84, 17.24)
CIE-LCHlch(44.84, 41.58, 155.51°)
OKLaboklab(51.15% -0.1024 0.0433)
OKLCHoklch(51.15% 0.111 157.1)
XYZxyz(8.5930, 14.4285, 9.1682)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B794C #791B48
analogous
#1B791D #1B794C #1B7779
triadic
#1B794C #4C1B79 #794C1B
tetradic
#1B794C #1D1B79 #791B48 #77791B
square
#1B794C #1D1B79 #791B48 #77791B
split-complementary
#1B794C #791B77 #791D1B
monochromatic
#061910 #10472D #1B794C #26AB6B #3BD38A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B794C#FFFFFF#000000##FFFFFF
##1B794C1.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)
#786F49
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b794c;
/* rgb */ color: rgb(27, 121, 76);
/* oklch */ color: oklch(51.1% 0.111 157.1);
Tailwind
colors: {
  custom: {
    50: '#67a07e',
    500: '#1b794c',
    950: '#000000',
  },
}
SCSS
$custom: #1b794c;
$custom-light: #67a07e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b794c",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 76
  },
  "hsl": {
    "h": 151.277,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.11115,
    "h": 157.1
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#1B794C
secondary
#AD4376
accent
#4190E7
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1B794C

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

Preview Lab → · Contrast checker → · Palette generator →

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