#155D2C#155D2C

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

Color values

HEX#155D2C
RGBrgb(21, 93, 44)
HSLhsl(139, 63%, 22%)
HSVhsv(139, 77%, 36%)
CMYKcmyk(77.4%, 0%, 52.7%, 63.5%)
CIE-LABlab(34.33, -33.72, 21.93)
CIE-LCHlch(34.33, 40.22, 146.96°)
OKLaboklab(42.26% -0.0907 0.0533)
OKLCHoklch(42.26% 0.105 149.6)
XYZxyz(4.6779, 8.1694, 3.7127)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D2C #5D1546
analogous
#225D15 #155D2C #155D50
triadic
#155D2C #2C155D #5D2C15
tetradic
#155D2C #15225D #5D1546 #5D5015
square
#155D2C #15225D #5D1546 #5D5015
split-complementary
#155D2C #50155D #5D1522
monochromatic
#06190C #0A2B14 #155D2C #208F44 #2CC15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155D2C#FFFFFF#000000##FFFFFF
##155D2C1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155d2c;
/* rgb */ color: rgb(21, 93, 44);
/* oklch */ color: oklch(42.3% 0.105 149.6);
Tailwind
colors: {
  custom: {
    50: '#5f8c66',
    500: '#155d2c',
    950: '#000000',
  },
}
SCSS
$custom: #155d2c;
$custom-light: #5f8c66;
$custom-dark: #000000;
JSON
{
  "hex": "#155d2c",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 44
  },
  "hsl": {
    "h": 139.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42256,
    "c": 0.10524,
    "h": 149.6
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#155D2C
secondary
#943977
accent
#42B2E6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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