#155D2A#155D2A

#155D2A is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.2% C 0.107 H 148.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#155D2A
RGBrgb(21, 93, 42)
HSLhsl(138, 63%, 22%)
HSVhsv(138, 77%, 36%)
CMYKcmyk(77.4%, 0%, 54.8%, 63.5%)
CIE-LABlab(34.30, -34.07, 23.02)
CIE-LCHlch(34.30, 41.12, 145.95°)
OKLaboklab(42.22% -0.0917 0.0557)
OKLCHoklch(42.22% 0.107 148.7)
XYZxyz(4.6412, 8.1548, 3.5195)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D2A #5D1548
analogous
#245D15 #155D2A #155D4E
triadic
#155D2A #2A155D #5D2A15
tetradic
#155D2A #15245D #5D1548 #5D4E15
square
#155D2A #15245D #5D1548 #5D4E15
split-complementary
#155D2A #4E155D #5D1524
monochromatic
#06190B #0A2B13 #155D2A #208F41 #2CC157

Accessibility & contrast

On white

7.98
#155D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#155D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155D2A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155D2A#FFFFFF#000000##FFFFFF
##155D2A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5426
Deuteranopia (green-blind)
#554E2E
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155d2a;
/* rgb */ color: rgb(21, 93, 42);
/* oklch */ color: oklch(42.2% 0.107 148.7);
Tailwind
colors: {
  custom: {
    50: '#5f8c65',
    500: '#155d2a',
    950: '#000000',
  },
}
SCSS
$custom: #155d2a;
$custom-light: #5f8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#155d2a",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 42
  },
  "hsl": {
    "h": 137.5,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42221,
    "c": 0.10725,
    "h": 148.7
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#155D2A
secondary
#94397A
accent
#42B6E6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #155D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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