#155C21#155C21

#155C21 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.114 H 145.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#155C21
RGBrgb(21, 92, 33)
HSLhsl(130, 63%, 22%)
HSVhsv(130, 77%, 36%)
CMYKcmyk(77.2%, 0%, 64.1%, 63.9%)
CIE-LABlab(33.82, -35.07, 27.32)
CIE-LCHlch(33.82, 44.46, 142.08°)
OKLaboklab(41.78% -0.0946 0.0644)
OKLCHoklch(41.78% 0.114 145.8)
XYZxyz(4.4106, 7.9230, 2.7354)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155C21 #5C1550
analogous
#2D5C15 #155C21 #155C45
triadic
#155C21 #21155C #5C2115
tetradic
#155C21 #152D5C #5C1550 #5C4515
square
#155C21 #152D5C #5C1550 #5C4515
split-complementary
#155C21 #45155C #5C152D
monochromatic
#061909 #0A2A0F #155C21 #208E33 #2CC045

Accessibility & contrast

On white

8.12
#155C21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#155C21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155C21
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155C21#FFFFFF#000000##FFFFFF
##155C211.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D531B
Deuteranopia (green-blind)
#554D26
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #155c21;
/* rgb */ color: rgb(21, 92, 33);
/* oklch */ color: oklch(41.8% 0.114 145.8);
Tailwind
colors: {
  custom: {
    50: '#5f8b5e',
    500: '#155c21',
    950: '#000000',
  },
}
SCSS
$custom: #155c21;
$custom-light: #5f8b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#155c21",
  "rgb": {
    "r": 21,
    "g": 92,
    "b": 33
  },
  "hsl": {
    "h": 130.141,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41784,
    "c": 0.11448,
    "h": 145.8
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#155C21
secondary
#933984
accent
#42CAE6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155C21

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

Preview Lab → · Contrast checker → · Palette generator →

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