#155A18#155A18

#155A18 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.119 H 143.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#155A18
RGBrgb(21, 90, 24)
HSLhsl(123, 62%, 22%)
HSVhsv(123, 77%, 35%)
CMYKcmyk(76.7%, 0%, 73.3%, 64.7%)
CIE-LABlab(33.00, -35.42, 30.84)
CIE-LCHlch(33.00, 46.97, 138.96°)
OKLaboklab(41.07% -0.096 0.0709)
OKLCHoklch(41.07% 0.119 143.6)
XYZxyz(4.1300, 7.5372, 2.1012)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A18 #5A1557
analogous
#355A15 #155A18 #155A3B
triadic
#155A18 #18155A #5A1815
tetradic
#155A18 #15355A #5A1557 #5A3B15
square
#155A18 #15355A #5A1557 #5A3B15
split-complementary
#155A18 #3B155A #5A1535
monochromatic
#061907 #09280B #155A18 #218C25 #2CBD32

Accessibility & contrast

On white

8.37
#155A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155A18
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A18#FFFFFF#000000##FFFFFF
##155A181.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155a18;
/* rgb */ color: rgb(21, 90, 24);
/* oklch */ color: oklch(41.1% 0.119 143.6);
Tailwind
colors: {
  custom: {
    50: '#5f8959',
    500: '#155a18',
    950: '#000000',
  },
}
SCSS
$custom: #155a18;
$custom-light: #5f8959;
$custom-dark: #000000;
JSON
{
  "hex": "#155a18",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 122.609,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41073,
    "c": 0.11933,
    "h": 143.6
  },
  "luminance": 0.07538
}

Semantic roles & 50–950 ramp

primary
#155A18
secondary
#92398E
accent
#43DEE5
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #155A18

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

Preview Lab → · Contrast checker → · Palette generator →

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