#155F20#155F20

#155F20 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.119 H 145.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#155F20
RGBrgb(21, 95, 32)
HSLhsl(129, 64%, 23%)
HSVhsv(129, 78%, 37%)
CMYKcmyk(77.9%, 0%, 66.3%, 62.7%)
CIE-LABlab(34.90, -36.36, 29.07)
CIE-LCHlch(34.90, 46.55, 141.36°)
OKLaboklab(42.67% -0.0982 0.0681)
OKLCHoklch(42.67% 0.119 145.3)
XYZxyz(4.6619, 8.4476, 2.7511)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F20 #5F1554
analogous
#2F5F15 #155F20 #155F45
triadic
#155F20 #20155F #5F2015
tetradic
#155F20 #152F5F #5F1554 #5F4515
square
#155F20 #152F5F #5F1554 #5F4515
split-complementary
#155F20 #45155F #5F152F
monochromatic
#061908 #0A2D0F #155F20 #209131 #2BC342

Accessibility & contrast

On white

7.81
#155F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#155F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F20
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F20#FFFFFF#000000##FFFFFF
##155F201.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615619
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f20;
/* rgb */ color: rgb(21, 95, 32);
/* oklch */ color: oklch(42.7% 0.119 145.3);
Tailwind
colors: {
  custom: {
    50: '#608d5e',
    500: '#155f20',
    950: '#000000',
  },
}
SCSS
$custom: #155f20;
$custom-light: #608d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#155f20",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 32
  },
  "hsl": {
    "h": 128.919,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42672,
    "c": 0.11946,
    "h": 145.3
  },
  "luminance": 0.08448
}

Semantic roles & 50–950 ramp

primary
#155F20
secondary
#963A89
accent
#41CEE7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155F20

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

Preview Lab → · Contrast checker → · Palette generator →

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