#155A31#155A31

#155A31 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.096 H 152.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#155A31
RGBrgb(21, 90, 49)
HSLhsl(144, 62%, 22%)
HSVhsv(144, 77%, 35%)
CMYKcmyk(76.7%, 0%, 45.6%, 64.7%)
CIE-LABlab(33.34, -31.51, 17.74)
CIE-LCHlch(33.34, 36.16, 150.62°)
OKLaboklab(41.46% -0.0849 0.0439)
OKLCHoklch(41.46% 0.096 152.6)
XYZxyz(4.5194, 7.6930, 4.1518)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A31 #5A153E
analogous
#1C5A15 #155A31 #155A54
triadic
#155A31 #31155A #5A3115
tetradic
#155A31 #151C5A #5A153E #5A5415
square
#155A31 #151C5A #5A153E #5A5415
split-complementary
#155A31 #54155A #5A151C
monochromatic
#06190E #092816 #155A31 #218C4C #2CBD67

Accessibility & contrast

On white

8.27
#155A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#155A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155A31
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A31#FFFFFF#000000##FFFFFF
##155A311.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522E
Deuteranopia (green-blind)
#524C34
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #155a31;
/* rgb */ color: rgb(21, 90, 49);
/* oklch */ color: oklch(41.5% 0.096 152.6);
Tailwind
colors: {
  custom: {
    50: '#5e8969',
    500: '#155a31',
    950: '#000000',
  },
}
SCSS
$custom: #155a31;
$custom-light: #5e8969;
$custom-dark: #000000;
JSON
{
  "hex": "#155a31",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 49
  },
  "hsl": {
    "h": 144.348,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41459,
    "c": 0.0956,
    "h": 152.6
  },
  "luminance": 0.07694
}

Semantic roles & 50–950 ramp

primary
#155A31
secondary
#92396E
accent
#43A3E5
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #155A31

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

Preview Lab → · Contrast checker → · Palette generator →

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