#155D27#155D27

#155D27 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.110 H 147.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#155D27
RGBrgb(21, 93, 39)
HSLhsl(135, 63%, 22%)
HSVhsv(135, 77%, 36%)
CMYKcmyk(77.4%, 0%, 58.1%, 63.5%)
CIE-LABlab(34.26, -34.57, 24.63)
CIE-LCHlch(34.26, 42.45, 144.52°)
OKLaboklab(42.17% -0.0931 0.0591)
OKLCHoklch(42.17% 0.11 147.6)
XYZxyz(4.5895, 8.1341, 3.2472)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D27 #5D154B
analogous
#275D15 #155D27 #155D4B
triadic
#155D27 #27155D #5D2715
tetradic
#155D27 #15275D #5D154B #5D4B15
square
#155D27 #15275D #5D154B #5D4B15
split-complementary
#155D27 #4B155D #5D1527
monochromatic
#06190A #0A2B12 #155D27 #208F3C #2CC151

Accessibility & contrast

On white

7.99
#155D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155D27
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155D27#FFFFFF#000000##FFFFFF
##155D271.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5422
Deuteranopia (green-blind)
#564E2B
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155d27;
/* rgb */ color: rgb(21, 93, 39);
/* oklch */ color: oklch(42.2% 0.110 147.6);
Tailwind
colors: {
  custom: {
    50: '#5f8c62',
    500: '#155d27',
    950: '#000000',
  },
}
SCSS
$custom: #155d27;
$custom-light: #5f8c62;
$custom-dark: #000000;
JSON
{
  "hex": "#155d27",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 39
  },
  "hsl": {
    "h": 135,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42172,
    "c": 0.11022,
    "h": 147.6
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#155D27
secondary
#94397E
accent
#42BDE6
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #155D27

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

Preview Lab → · Contrast checker → · Palette generator →

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