#1B815D#1B815D

#1B815D is a mid, moderate teal. Relative luminance 0.167; OKLCH L 53.8% C 0.106 H 163.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1B815D
RGBrgb(27, 129, 93)
HSLhsl(159, 65%, 31%)
HSVhsv(159, 79%, 51%)
CMYKcmyk(79.1%, 0%, 27.9%, 49.4%)
CIE-LABlab(47.91, -37.27, 11.60)
CIE-LCHlch(47.91, 39.03, 162.70°)
OKLaboklab(53.79% -0.1022 0.0296)
OKLCHoklch(53.79% 0.106 163.9)
XYZxyz(10.2769, 16.7226, 13.0400)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B815D #811B3F
analogous
#1B812A #1B815D #1B7281
triadic
#1B815D #5D1B81 #815D1B
tetradic
#1B815D #2A1B81 #811B3F #72811B
square
#1B815D #2A1B81 #811B3F #72811B
split-complementary
#1B815D #811B72 #812A1B
monochromatic
#061C14 #104E39 #1B815D #26B481 #3FD7A1

Accessibility & contrast

On white

4.83
#1B815D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1B815D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B815D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B815D#FFFFFF#000000##FFFFFF
##1B815D1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E775B
Deuteranopia (green-blind)
#726E5F
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1b815d;
/* rgb */ color: rgb(27, 129, 93);
/* oklch */ color: oklch(53.8% 0.106 163.9);
Tailwind
colors: {
  custom: {
    50: '#69a68b',
    500: '#1b815d',
    950: '#000000',
  },
}
SCSS
$custom: #1b815d;
$custom-light: #69a68b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b815d",
  "rgb": {
    "r": 27,
    "g": 129,
    "b": 93
  },
  "hsl": {
    "h": 158.824,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53793,
    "c": 0.10636,
    "h": 163.9
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#1B815D
secondary
#B5436B
accent
#3F7BE8
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #1B815D

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

Preview Lab → · Contrast checker → · Palette generator →

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