#155D1B#155D1B

#155D1B is a dark, vivid green. Relative luminance 0.081; OKLCH L 42.0% C 0.121 H 144.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#155D1B
RGBrgb(21, 93, 27)
HSLhsl(125, 63%, 22%)
HSVhsv(125, 77%, 36%)
CMYKcmyk(77.4%, 0%, 71%, 63.5%)
CIE-LABlab(34.12, -36.22, 30.65)
CIE-LCHlch(34.12, 47.45, 139.76°)
OKLaboklab(42.01% -0.098 0.0709)
OKLCHoklch(42.01% 0.121 144.1)
XYZxyz(4.4212, 8.0668, 2.3607)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D1B #5D1557
analogous
#335D15 #155D1B #155D3F
triadic
#155D1B #1B155D #5D1B15
tetradic
#155D1B #15335D #5D1557 #5D3F15
square
#155D1B #15335D #5D1557 #5D3F15
split-complementary
#155D1B #3F155D #5D1533
monochromatic
#061907 #0A2B0D #155D1B #208F29 #2CC138

Accessibility & contrast

On white

8.04
#155D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#155D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155D1B
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155D1B#FFFFFF#000000##FFFFFF
##155D1B1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5412
Deuteranopia (green-blind)
#574E21
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #155d1b;
/* rgb */ color: rgb(21, 93, 27);
/* oklch */ color: oklch(42.0% 0.121 144.1);
Tailwind
colors: {
  custom: {
    50: '#5f8c5b',
    500: '#155d1b',
    950: '#000000',
  },
}
SCSS
$custom: #155d1b;
$custom-light: #5f8c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#155d1b",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 27
  },
  "hsl": {
    "h": 125,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42012,
    "c": 0.12094,
    "h": 144.1
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#155D1B
secondary
#94398D
accent
#42D8E6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155D1B

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

Preview Lab → · Contrast checker → · Palette generator →

#155D1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva