#155D21#155D21

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

Color values

HEX#155D21
RGBrgb(21, 93, 33)
HSLhsl(130, 63%, 22%)
HSVhsv(130, 77%, 36%)
CMYKcmyk(77.4%, 0%, 64.5%, 63.5%)
CIE-LABlab(34.18, -35.46, 27.74)
CIE-LCHlch(34.18, 45.02, 141.96°)
OKLaboklab(42.09% -0.0957 0.0653)
OKLCHoklch(42.09% 0.116 145.7)
XYZxyz(4.4978, 8.0974, 2.7645)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D21 #5D1551
analogous
#2D5D15 #155D21 #155D45
triadic
#155D21 #21155D #5D2115
tetradic
#155D21 #152D5D #5D1551 #5D4515
square
#155D21 #152D5D #5D1551 #5D4515
split-complementary
#155D21 #45155D #5D152D
monochromatic
#061909 #0A2B0F #155D21 #208F33 #2CC144

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155D21#FFFFFF#000000##FFFFFF
##155D211.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)
#5F541B
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #155d21;
/* rgb */ color: rgb(21, 93, 33);
/* oklch */ color: oklch(42.1% 0.116 145.7);
Tailwind
colors: {
  custom: {
    50: '#5f8c5e',
    500: '#155d21',
    950: '#000000',
  },
}
SCSS
$custom: #155d21;
$custom-light: #5f8c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#155d21",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 33
  },
  "hsl": {
    "h": 130,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.11585,
    "h": 145.7
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#155D21
secondary
#943985
accent
#42CBE6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155D21

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

Preview Lab → · Contrast checker → · Palette generator →

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