#155D20#155D20

#155D20 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.117 H 145.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#155D20
RGBrgb(21, 93, 32)
HSLhsl(129, 63%, 22%)
HSVhsv(129, 77%, 36%)
CMYKcmyk(77.4%, 0%, 65.6%, 63.5%)
CIE-LABlab(34.17, -35.60, 28.24)
CIE-LCHlch(34.17, 45.44, 141.57°)
OKLaboklab(42.07% -0.0961 0.0663)
OKLCHoklch(42.07% 0.117 145.4)
XYZxyz(4.4840, 8.0919, 2.6918)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D20 #5D1552
analogous
#2E5D15 #155D20 #155D44
triadic
#155D20 #20155D #5D2015
tetradic
#155D20 #152E5D #5D1552 #5D4415
square
#155D20 #152E5D #5D1552 #5D4415
split-complementary
#155D20 #44155D #5D152E
monochromatic
#061909 #0A2B0F #155D20 #208F31 #2CC142

Accessibility & contrast

On white

8.02
#155D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#155D20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155D20
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155D20#FFFFFF#000000##FFFFFF
##155D201.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5419
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #155d20;
/* rgb */ color: rgb(21, 93, 32);
/* oklch */ color: oklch(42.1% 0.117 145.4);
Tailwind
colors: {
  custom: {
    50: '#5f8c5e',
    500: '#155d20',
    950: '#000000',
  },
}
SCSS
$custom: #155d20;
$custom-light: #5f8c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#155d20",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 32
  },
  "hsl": {
    "h": 129.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42072,
    "c": 0.11674,
    "h": 145.4
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#155D20
secondary
#943986
accent
#42CDE6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155D20

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

Preview Lab → · Contrast checker → · Palette generator →

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