#155A1C#155A1C

#155A1C is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.1% C 0.116 H 144.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#155A1C
RGBrgb(21, 90, 28)
HSLhsl(126, 62%, 22%)
HSVhsv(126, 77%, 35%)
CMYKcmyk(76.7%, 0%, 68.9%, 64.7%)
CIE-LABlab(33.04, -34.96, 28.97)
CIE-LCHlch(33.04, 45.40, 140.35°)
OKLaboklab(41.12% -0.0945 0.0674)
OKLCHoklch(41.12% 0.116 144.5)
XYZxyz(4.1748, 7.5551, 2.3367)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A1C #5A1553
analogous
#315A15 #155A1C #155A3F
triadic
#155A1C #1C155A #5A1C15
tetradic
#155A1C #15315A #5A1553 #5A3F15
square
#155A1C #15315A #5A1553 #5A3F15
split-complementary
#155A1C #3F155A #5A1531
monochromatic
#061908 #09280D #155A1C #218C2B #2CBD3B

Accessibility & contrast

On white

8.36
#155A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#155A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155A1C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A1C#FFFFFF#000000##FFFFFF
##155A1C1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5115
Deuteranopia (green-blind)
#544C21
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #155a1c;
/* rgb */ color: rgb(21, 90, 28);
/* oklch */ color: oklch(41.1% 0.116 144.5);
Tailwind
colors: {
  custom: {
    50: '#5e895b',
    500: '#155a1c',
    950: '#000000',
  },
}
SCSS
$custom: #155a1c;
$custom-light: #5e895b;
$custom-dark: #000000;
JSON
{
  "hex": "#155a1c",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 28
  },
  "hsl": {
    "h": 126.087,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41117,
    "c": 0.11612,
    "h": 144.5
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#155A1C
secondary
#923989
accent
#43D5E5
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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