#155B1B#155B1B

#155B1B is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.118 H 144.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#155B1B
RGBrgb(21, 91, 27)
HSLhsl(125, 63%, 22%)
HSVhsv(125, 77%, 36%)
CMYKcmyk(76.9%, 0%, 70.3%, 64.3%)
CIE-LABlab(33.39, -35.46, 29.85)
CIE-LCHlch(33.39, 46.35, 139.91°)
OKLaboklab(41.41% -0.096 0.0692)
OKLCHoklch(41.41% 0.118 144.2)
XYZxyz(4.2479, 7.7203, 2.3030)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B1B #5B1555
analogous
#325B15 #155B1B #155B3E
triadic
#155B1B #1B155B #5B1B15
tetradic
#155B1B #15325B #5B1555 #5B3E15
square
#155B1B #15325B #5B1555 #5B3E15
split-complementary
#155B1B #3E155B #5B1532
monochromatic
#061907 #0A290C #155B1B #208D2A #2CBE39

Accessibility & contrast

On white

8.25
#155B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#155B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155B1B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155B1B#FFFFFF#000000##FFFFFF
##155B1B1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5213
Deuteranopia (green-blind)
#554C21
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155b1b;
/* rgb */ color: rgb(21, 91, 27);
/* oklch */ color: oklch(41.4% 0.118 144.2);
Tailwind
colors: {
  custom: {
    50: '#5f8a5b',
    500: '#155b1b',
    950: '#000000',
  },
}
SCSS
$custom: #155b1b;
$custom-light: #5f8a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#155b1b",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 27
  },
  "hsl": {
    "h": 125.143,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41408,
    "c": 0.11829,
    "h": 144.2
  },
  "luminance": 0.07721
}

Semantic roles & 50–950 ramp

primary
#155B1B
secondary
#92398B
accent
#42D8E6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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