#155D2D#155D2D

#155D2D is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.104 H 150.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#155D2D
RGBrgb(21, 93, 45)
HSLhsl(140, 63%, 22%)
HSVhsv(140, 77%, 36%)
CMYKcmyk(77.4%, 0%, 51.6%, 63.5%)
CIE-LABlab(34.35, -33.54, 21.38)
CIE-LCHlch(34.35, 39.77, 147.49°)
OKLaboklab(42.27% -0.0902 0.0521)
OKLCHoklch(42.27% 0.104 150)
XYZxyz(4.6969, 8.1771, 3.8129)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D2D #5D1545
analogous
#215D15 #155D2D #155D51
triadic
#155D2D #2D155D #5D2D15
tetradic
#155D2D #15215D #5D1545 #5D5115
square
#155D2D #15215D #5D1545 #5D5115
split-complementary
#155D2D #51155D #5D1521
monochromatic
#06190C #0A2B15 #155D2D #208F45 #2CC15D

Accessibility & contrast

On white

7.97
#155D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#155D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155D2D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155D2D#FFFFFF#000000##FFFFFF
##155D2D1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5429
Deuteranopia (green-blind)
#554E30
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155d2d;
/* rgb */ color: rgb(21, 93, 45);
/* oklch */ color: oklch(42.3% 0.104 150.0);
Tailwind
colors: {
  custom: {
    50: '#5e8c67',
    500: '#155d2d',
    950: '#000000',
  },
}
SCSS
$custom: #155d2d;
$custom-light: #5e8c67;
$custom-dark: #000000;
JSON
{
  "hex": "#155d2d",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 45
  },
  "hsl": {
    "h": 140,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42274,
    "c": 0.10421,
    "h": 150
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#155D2D
secondary
#943976
accent
#42AFE6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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