#155E20#155E20

#155E20 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.118 H 145.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#155E20
RGBrgb(21, 94, 32)
HSLhsl(129, 63%, 23%)
HSVhsv(129, 78%, 37%)
CMYKcmyk(77.7%, 0%, 66%, 63.1%)
CIE-LABlab(34.54, -35.98, 28.66)
CIE-LCHlch(34.54, 46.00, 141.46°)
OKLaboklab(42.37% -0.0971 0.0672)
OKLCHoklch(42.37% 0.118 145.3)
XYZxyz(4.5724, 8.2686, 2.7212)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E20 #5E1553
analogous
#2F5E15 #155E20 #155E44
triadic
#155E20 #20155E #5E2015
tetradic
#155E20 #152F5E #5E1553 #5E4415
square
#155E20 #152F5E #5E1553 #5E4415
split-complementary
#155E20 #44155E #5E152F
monochromatic
#061909 #0A2C0F #155E20 #209031 #2BC242

Accessibility & contrast

On white

7.91
#155E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#155E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155E20
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E20#FFFFFF#000000##FFFFFF
##155E201.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605519
Deuteranopia (green-blind)
#574F25
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155e20;
/* rgb */ color: rgb(21, 94, 32);
/* oklch */ color: oklch(42.4% 0.118 145.3);
Tailwind
colors: {
  custom: {
    50: '#5f8c5e',
    500: '#155e20',
    950: '#000000',
  },
}
SCSS
$custom: #155e20;
$custom-light: #5f8c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#155e20",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 32
  },
  "hsl": {
    "h": 129.041,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42372,
    "c": 0.1181,
    "h": 145.3
  },
  "luminance": 0.08269
}

Semantic roles & 50–950 ramp

primary
#155E20
secondary
#953987
accent
#41CEE7
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155E20

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

Preview Lab → · Contrast checker → · Palette generator →

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