#155C27#155C27

#155C27 is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.109 H 147.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#155C27
RGBrgb(21, 92, 39)
HSLhsl(135, 63%, 22%)
HSVhsv(135, 77%, 36%)
CMYKcmyk(77.2%, 0%, 57.6%, 63.9%)
CIE-LABlab(33.90, -34.17, 24.20)
CIE-LCHlch(33.90, 41.87, 144.70°)
OKLaboklab(41.87% -0.092 0.0581)
OKLCHoklch(41.87% 0.109 147.7)
XYZxyz(4.5023, 7.9597, 3.2182)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155C27 #5C154A
analogous
#275C15 #155C27 #155C4B
triadic
#155C27 #27155C #5C2715
tetradic
#155C27 #15275C #5C154A #5C4B15
square
#155C27 #15275C #5C154A #5C4B15
split-complementary
#155C27 #4B155C #5C1527
monochromatic
#06190B #0A2A12 #155C27 #208E3C #2CC051

Accessibility & contrast

On white

8.10
#155C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#155C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155C27
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155C27#FFFFFF#000000##FFFFFF
##155C271.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5322
Deuteranopia (green-blind)
#554D2B
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #155c27;
/* rgb */ color: rgb(21, 92, 39);
/* oklch */ color: oklch(41.9% 0.109 147.7);
Tailwind
colors: {
  custom: {
    50: '#5e8b62',
    500: '#155c27',
    950: '#000000',
  },
}
SCSS
$custom: #155c27;
$custom-light: #5e8b62;
$custom-dark: #000000;
JSON
{
  "hex": "#155c27",
  "rgb": {
    "r": 21,
    "g": 92,
    "b": 39
  },
  "hsl": {
    "h": 135.211,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41873,
    "c": 0.1088,
    "h": 147.7
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#155C27
secondary
#93397D
accent
#42BCE6
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #155C27

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

Preview Lab → · Contrast checker → · Palette generator →

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