#155C20#155C20

#155C20 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.115 H 145.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#155C20
RGBrgb(21, 92, 32)
HSLhsl(129, 63%, 22%)
HSVhsv(129, 77%, 36%)
CMYKcmyk(77.2%, 0%, 65.2%, 63.9%)
CIE-LABlab(33.81, -35.21, 27.83)
CIE-LCHlch(33.81, 44.88, 141.68°)
OKLaboklab(41.77% -0.095 0.0654)
OKLCHoklch(41.77% 0.115 145.5)
XYZxyz(4.3968, 7.9175, 2.6627)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155C20 #5C1551
analogous
#2D5C15 #155C20 #155C44
triadic
#155C20 #20155C #5C2015
tetradic
#155C20 #152D5C #5C1551 #5C4415
square
#155C20 #152D5C #5C1551 #5C4415
split-complementary
#155C20 #44155C #5C152D
monochromatic
#061909 #0A2A0F #155C20 #208E31 #2CC043

Accessibility & contrast

On white

8.13
#155C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#155C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155C20
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155C20#FFFFFF#000000##FFFFFF
##155C201.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5319
Deuteranopia (green-blind)
#554D25
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155c20;
/* rgb */ color: rgb(21, 92, 32);
/* oklch */ color: oklch(41.8% 0.115 145.5);
Tailwind
colors: {
  custom: {
    50: '#5f8b5e',
    500: '#155c20',
    950: '#000000',
  },
}
SCSS
$custom: #155c20;
$custom-light: #5f8b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#155c20",
  "rgb": {
    "r": 21,
    "g": 92,
    "b": 32
  },
  "hsl": {
    "h": 129.296,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.11538,
    "h": 145.5
  },
  "luminance": 0.07918
}

Semantic roles & 50–950 ramp

primary
#155C20
secondary
#933985
accent
#42CCE6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155C20

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

Preview Lab → · Contrast checker → · Palette generator →

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