#1B815F#1B815F

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

Color values

HEX#1B815F
RGBrgb(27, 129, 95)
HSLhsl(160, 65%, 31%)
HSVhsv(160, 79%, 51%)
CMYKcmyk(79.1%, 0%, 26.4%, 49.4%)
CIE-LABlab(47.95, -36.77, 10.51)
CIE-LCHlch(47.95, 38.24, 164.06°)
OKLaboklab(53.85% -0.1011 0.0268)
OKLCHoklch(53.85% 0.105 165.1)
XYZxyz(10.3666, 16.7585, 13.5126)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B815F #811B3D
analogous
#1B812C #1B815F #1B7081
triadic
#1B815F #5F1B81 #815F1B
tetradic
#1B815F #2C1B81 #811B3D #70811B
square
#1B815F #2C1B81 #811B3D #70811B
split-complementary
#1B815F #811B70 #812C1B
monochromatic
#061C14 #104E3A #1B815F #26B484 #3FD7A4

Accessibility & contrast

On white

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

On black

4.35
#1B815F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B815F#FFFFFF#000000##FFFFFF
##1B815F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E775D
Deuteranopia (green-blind)
#726E61
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1b815f;
/* rgb */ color: rgb(27, 129, 95);
/* oklch */ color: oklch(53.8% 0.105 165.1);
Tailwind
colors: {
  custom: {
    50: '#69a68c',
    500: '#1b815f',
    950: '#000000',
  },
}
SCSS
$custom: #1b815f;
$custom-light: #69a68c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b815f",
  "rgb": {
    "r": 27,
    "g": 129,
    "b": 95
  },
  "hsl": {
    "h": 160,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.10464,
    "h": 165.1
  },
  "luminance": 0.1676
}

Semantic roles & 50–950 ramp

primary
#1B815F
secondary
#B54369
accent
#3F78E8
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #1B815F

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

Preview Lab → · Contrast checker → · Palette generator →

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