#155E31#155E31

#155E31 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.102 H 151.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#155E31
RGBrgb(21, 94, 49)
HSLhsl(143, 63%, 23%)
HSVhsv(143, 78%, 37%)
CMYKcmyk(77.7%, 0%, 47.9%, 63.1%)
CIE-LABlab(34.77, -33.20, 19.61)
CIE-LCHlch(34.77, 38.55, 149.43°)
OKLaboklab(42.65% -0.0893 0.0482)
OKLCHoklch(42.65% 0.102 151.6)
XYZxyz(4.8659, 8.3860, 4.2674)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E31 #5E1542
analogous
#1D5E15 #155E31 #155E56
triadic
#155E31 #31155E #5E3115
tetradic
#155E31 #151D5E #5E1542 #5E5615
square
#155E31 #151D5E #5E1542 #5E5615
split-complementary
#155E31 #56155E #5E151D
monochromatic
#06190D #0A2C17 #155E31 #20904B #2BC265

Accessibility & contrast

On white

7.84
#155E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#155E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155E31
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E31#FFFFFF#000000##FFFFFF
##155E311.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552E
Deuteranopia (green-blind)
#564F34
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155e31;
/* rgb */ color: rgb(21, 94, 49);
/* oklch */ color: oklch(42.6% 0.102 151.6);
Tailwind
colors: {
  custom: {
    50: '#5f8c6a',
    500: '#155e31',
    950: '#000000',
  },
}
SCSS
$custom: #155e31;
$custom-light: #5f8c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#155e31",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 49
  },
  "hsl": {
    "h": 143.014,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42647,
    "c": 0.10154,
    "h": 151.6
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#155E31
secondary
#953972
accent
#41A7E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155E31

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

Preview Lab → · Contrast checker → · Palette generator →

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