#155F32#155F32

#155F32 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.102 H 151.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#155F32
RGBrgb(21, 95, 50)
HSLhsl(144, 64%, 23%)
HSVhsv(144, 78%, 37%)
CMYKcmyk(77.9%, 0%, 47.4%, 62.7%)
CIE-LABlab(35.15, -33.42, 19.51)
CIE-LCHlch(35.15, 38.69, 149.73°)
OKLaboklab(42.96% -0.0899 0.0481)
OKLCHoklch(42.96% 0.102 151.9)
XYZxyz(4.9768, 8.5736, 4.4096)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F32 #5F1542
analogous
#1D5F15 #155F32 #155F57
triadic
#155F32 #32155F #5F3215
tetradic
#155F32 #151D5F #5F1542 #5F5715
square
#155F32 #151D5F #5F1542 #5F5715
split-complementary
#155F32 #57155F #5F151D
monochromatic
#06190D #0A2D18 #155F32 #20914C #2BC367

Accessibility & contrast

On white

7.74
#155F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#155F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F32
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F32#FFFFFF#000000##FFFFFF
##155F321.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562F
Deuteranopia (green-blind)
#565035
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #155f32;
/* rgb */ color: rgb(21, 95, 50);
/* oklch */ color: oklch(43.0% 0.102 151.9);
Tailwind
colors: {
  custom: {
    50: '#5f8d6a',
    500: '#155f32',
    950: '#000000',
  },
}
SCSS
$custom: #155f32;
$custom-light: #5f8d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#155f32",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 50
  },
  "hsl": {
    "h": 143.514,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42962,
    "c": 0.10198,
    "h": 151.9
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#155F32
secondary
#963A72
accent
#41A6E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155F32

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

Preview Lab → · Contrast checker → · Palette generator →

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