#155D2B#155D2B

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

Color values

HEX#155D2B
RGBrgb(21, 93, 43)
HSLhsl(138, 63%, 22%)
HSVhsv(138, 77%, 36%)
CMYKcmyk(77.4%, 0%, 53.8%, 63.5%)
CIE-LABlab(34.32, -33.90, 22.48)
CIE-LCHlch(34.32, 40.67, 146.45°)
OKLaboklab(42.24% -0.0912 0.0545)
OKLCHoklch(42.24% 0.106 149.1)
XYZxyz(4.6593, 8.1620, 3.6149)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D2B #5D1547
analogous
#235D15 #155D2B #155D4F
triadic
#155D2B #2B155D #5D2B15
tetradic
#155D2B #15235D #5D1547 #5D4F15
square
#155D2B #15235D #5D1547 #5D4F15
split-complementary
#155D2B #4F155D #5D1523
monochromatic
#06190C #0A2B14 #155D2B #208F42 #2CC159

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155D2B#FFFFFF#000000##FFFFFF
##155D2B1.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)
#5E5427
Deuteranopia (green-blind)
#554E2F
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155d2b;
/* rgb */ color: rgb(21, 93, 43);
/* oklch */ color: oklch(42.2% 0.106 149.1);
Tailwind
colors: {
  custom: {
    50: '#5f8c65',
    500: '#155d2b',
    950: '#000000',
  },
}
SCSS
$custom: #155d2b;
$custom-light: #5f8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#155d2b",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 43
  },
  "hsl": {
    "h": 138.333,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42238,
    "c": 0.10625,
    "h": 149.1
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#155D2B
secondary
#943979
accent
#42B4E6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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