#155B1C#155B1C

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

Color values

HEX#155B1C
RGBrgb(21, 91, 28)
HSLhsl(126, 63%, 22%)
HSVhsv(126, 77%, 36%)
CMYKcmyk(76.9%, 0%, 69.2%, 64.3%)
CIE-LABlab(33.40, -35.34, 29.38)
CIE-LCHlch(33.40, 45.96, 140.27°)
OKLaboklab(41.42% -0.0956 0.0683)
OKLCHoklch(41.42% 0.117 144.5)
XYZxyz(4.2597, 7.7250, 2.3650)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B1C #5B1554
analogous
#315B15 #155B1C #155B3F
triadic
#155B1C #1C155B #5B1C15
tetradic
#155B1C #15315B #5B1554 #5B3F15
square
#155B1C #15315B #5B1554 #5B3F15
split-complementary
#155B1C #3F155B #5B1531
monochromatic
#061908 #0A290D #155B1C #208D2B #2CBE3B

Accessibility & contrast

On white

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

On black

2.55
#155B1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##155B1C#FFFFFF#000000##FFFFFF
##155B1C1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155b1c;
/* rgb */ color: rgb(21, 91, 28);
/* oklch */ color: oklch(41.4% 0.117 144.5);
Tailwind
colors: {
  custom: {
    50: '#5f8a5b',
    500: '#155b1c',
    950: '#000000',
  },
}
SCSS
$custom: #155b1c;
$custom-light: #5f8a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#155b1c",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 28
  },
  "hsl": {
    "h": 126,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4142,
    "c": 0.11746,
    "h": 144.5
  },
  "luminance": 0.07725
}

Semantic roles & 50–950 ramp

primary
#155B1C
secondary
#92398A
accent
#42D5E6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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