#155B20#155B20

#155B20 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.114 H 145.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#155B20
RGBrgb(21, 91, 32)
HSLhsl(129, 63%, 22%)
HSVhsv(129, 77%, 36%)
CMYKcmyk(76.9%, 0%, 64.8%, 64.3%)
CIE-LABlab(33.45, -34.82, 27.41)
CIE-LCHlch(33.45, 44.32, 141.79°)
OKLaboklab(41.47% -0.094 0.0645)
OKLCHoklch(41.47% 0.114 145.5)
XYZxyz(4.3108, 7.7454, 2.6340)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B20 #5B1550
analogous
#2D5B15 #155B20 #155B43
triadic
#155B20 #20155B #5B2015
tetradic
#155B20 #152D5B #5B1550 #5B4315
square
#155B20 #152D5B #5B1550 #5B4315
split-complementary
#155B20 #43155B #5B152D
monochromatic
#061909 #0A290F #155B20 #208D31 #2CBE43

Accessibility & contrast

On white

8.24
#155B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155B20
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155B20#FFFFFF#000000##FFFFFF
##155B201.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D521A
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155b20;
/* rgb */ color: rgb(21, 91, 32);
/* oklch */ color: oklch(41.5% 0.114 145.5);
Tailwind
colors: {
  custom: {
    50: '#5f8a5e',
    500: '#155b20',
    950: '#000000',
  },
}
SCSS
$custom: #155b20;
$custom-light: #5f8a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#155b20",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 32
  },
  "hsl": {
    "h": 129.429,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4147,
    "c": 0.114,
    "h": 145.5
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#155B20
secondary
#923984
accent
#42CCE6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155B20

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

Preview Lab → · Contrast checker → · Palette generator →

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