#155B31#155B31

#155B31 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.097 H 152.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#155B31
RGBrgb(21, 91, 49)
HSLhsl(144, 63%, 22%)
HSVhsv(144, 77%, 36%)
CMYKcmyk(76.9%, 0%, 46.2%, 64.3%)
CIE-LABlab(33.70, -31.94, 18.21)
CIE-LCHlch(33.70, 36.76, 150.31°)
OKLaboklab(41.76% -0.086 0.045)
OKLCHoklch(41.76% 0.097 152.4)
XYZxyz(4.6043, 7.8628, 4.1802)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B31 #5B153F
analogous
#1C5B15 #155B31 #155B54
triadic
#155B31 #31155B #5B3115
tetradic
#155B31 #151C5B #5B153F #5B5415
square
#155B31 #151C5B #5B153F #5B5415
split-complementary
#155B31 #54155B #5B151C
monochromatic
#06190D #0A2916 #155B31 #208D4C #2CBE67

Accessibility & contrast

On white

8.16
#155B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#155B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155B31
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155B31#FFFFFF#000000##FFFFFF
##155B311.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532E
Deuteranopia (green-blind)
#534D34
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155b31;
/* rgb */ color: rgb(21, 91, 49);
/* oklch */ color: oklch(41.8% 0.097 152.4);
Tailwind
colors: {
  custom: {
    50: '#5e8a69',
    500: '#155b31',
    950: '#000000',
  },
}
SCSS
$custom: #155b31;
$custom-light: #5e8a69;
$custom-dark: #000000;
JSON
{
  "hex": "#155b31",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 49
  },
  "hsl": {
    "h": 144,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41756,
    "c": 0.09709,
    "h": 152.4
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#155B31
secondary
#92396F
accent
#42A4E6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155B31

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

Preview Lab → · Contrast checker → · Palette generator →

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