#155A21#155A21

#155A21 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.112 H 145.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#155A21
RGBrgb(21, 90, 33)
HSLhsl(130, 62%, 22%)
HSVhsv(130, 77%, 35%)
CMYKcmyk(76.7%, 0%, 63.3%, 64.7%)
CIE-LABlab(33.09, -34.29, 26.48)
CIE-LCHlch(33.09, 43.33, 142.32°)
OKLaboklab(41.18% -0.0925 0.0626)
OKLCHoklch(41.18% 0.112 145.9)
XYZxyz(4.2396, 7.5811, 2.6784)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A21 #5A154E
analogous
#2C5A15 #155A21 #155A44
triadic
#155A21 #21155A #5A2115
tetradic
#155A21 #152C5A #5A154E #5A4415
square
#155A21 #152C5A #5A154E #5A4415
split-complementary
#155A21 #44155A #5A152C
monochromatic
#061909 #09280F #155A21 #218C33 #2CBD45

Accessibility & contrast

On white

8.35
#155A21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#155A21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155A21
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A21#FFFFFF#000000##FFFFFF
##155A211.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511B
Deuteranopia (green-blind)
#534C26
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #155a21;
/* rgb */ color: rgb(21, 90, 33);
/* oklch */ color: oklch(41.2% 0.112 145.9);
Tailwind
colors: {
  custom: {
    50: '#5e895e',
    500: '#155a21',
    950: '#000000',
  },
}
SCSS
$custom: #155a21;
$custom-light: #5e895e;
$custom-dark: #000000;
JSON
{
  "hex": "#155a21",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 33
  },
  "hsl": {
    "h": 130.435,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41182,
    "c": 0.11169,
    "h": 145.9
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#155A21
secondary
#923982
accent
#43C9E5
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155A21

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

Preview Lab → · Contrast checker → · Palette generator →

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