#155C31#155C31

#155C31 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.099 H 152.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#155C31
RGBrgb(21, 92, 49)
HSLhsl(144, 63%, 22%)
HSVhsv(144, 77%, 36%)
CMYKcmyk(77.2%, 0%, 46.7%, 63.9%)
CIE-LABlab(34.06, -32.36, 18.68)
CIE-LCHlch(34.06, 37.36, 150.00°)
OKLaboklab(42.05% -0.0871 0.0461)
OKLCHoklch(42.05% 0.099 152.1)
XYZxyz(4.6904, 8.0349, 4.2088)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155C31 #5C1540
analogous
#1D5C15 #155C31 #155C55
triadic
#155C31 #31155C #5C3115
tetradic
#155C31 #151D5C #5C1540 #5C5515
square
#155C31 #151D5C #5C1540 #5C5515
split-complementary
#155C31 #55155C #5C151D
monochromatic
#06190D #0A2A16 #155C31 #208E4C #2CC066

Accessibility & contrast

On white

8.06
#155C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#155C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155C31
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155C31#FFFFFF#000000##FFFFFF
##155C311.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C542E
Deuteranopia (green-blind)
#544E34
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #155c31;
/* rgb */ color: rgb(21, 92, 49);
/* oklch */ color: oklch(42.1% 0.099 152.1);
Tailwind
colors: {
  custom: {
    50: '#5e8b69',
    500: '#155c31',
    950: '#000000',
  },
}
SCSS
$custom: #155c31;
$custom-light: #5e8b69;
$custom-dark: #000000;
JSON
{
  "hex": "#155c31",
  "rgb": {
    "r": 21,
    "g": 92,
    "b": 49
  },
  "hsl": {
    "h": 143.662,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.09858,
    "h": 152.1
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#155C31
secondary
#933970
accent
#42A5E6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155C31

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

Preview Lab → · Contrast checker → · Palette generator →

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