#155B27#155B27

#155B27 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.107 H 147.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#155B27
RGBrgb(21, 91, 39)
HSLhsl(135, 63%, 22%)
HSVhsv(135, 77%, 36%)
CMYKcmyk(76.9%, 0%, 57.1%, 64.3%)
CIE-LABlab(33.54, -33.77, 23.76)
CIE-LCHlch(33.54, 41.29, 144.87°)
OKLaboklab(41.57% -0.0909 0.0571)
OKLCHoklch(41.57% 0.107 147.9)
XYZxyz(4.4162, 7.7876, 3.1895)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B27 #5B1549
analogous
#265B15 #155B27 #155B4A
triadic
#155B27 #27155B #5B2715
tetradic
#155B27 #15265B #5B1549 #5B4A15
square
#155B27 #15265B #5B1549 #5B4A15
split-complementary
#155B27 #4A155B #5B1526
monochromatic
#06190B #0A2912 #155B27 #208D3C #2CBE52

Accessibility & contrast

On white

8.21
#155B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#155B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155B27
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155B27#FFFFFF#000000##FFFFFF
##155B271.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5222
Deuteranopia (green-blind)
#544D2B
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155b27;
/* rgb */ color: rgb(21, 91, 39);
/* oklch */ color: oklch(41.6% 0.107 147.9);
Tailwind
colors: {
  custom: {
    50: '#5e8a62',
    500: '#155b27',
    950: '#000000',
  },
}
SCSS
$custom: #155b27;
$custom-light: #5e8a62;
$custom-dark: #000000;
JSON
{
  "hex": "#155b27",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 39
  },
  "hsl": {
    "h": 135.429,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41573,
    "c": 0.10737,
    "h": 147.9
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#155B27
secondary
#92397C
accent
#42BCE6
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #155B27

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

Preview Lab → · Contrast checker → · Palette generator →

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