#155B18#155B18

#155B18 is a dark, vivid green. Relative luminance 0.077; OKLCH L 41.4% C 0.121 H 143.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#155B18
RGBrgb(21, 91, 24)
HSLhsl(123, 63%, 22%)
HSVhsv(123, 77%, 36%)
CMYKcmyk(76.9%, 0%, 73.6%, 64.3%)
CIE-LABlab(33.37, -35.80, 31.23)
CIE-LCHlch(33.37, 47.51, 138.90°)
OKLaboklab(41.38% -0.097 0.0717)
OKLCHoklch(41.38% 0.121 143.5)
XYZxyz(4.2150, 7.7071, 2.1295)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B18 #5B1558
analogous
#355B15 #155B18 #155B3B
triadic
#155B18 #18155B #5B1815
tetradic
#155B18 #15355B #5B1558 #5B3B15
square
#155B18 #15355B #5B1558 #5B3B15
split-complementary
#155B18 #3B155B #5B1535
monochromatic
#061907 #0A290B #155B18 #208D25 #2CBE32

Accessibility & contrast

On white

8.26
#155B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#155B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155B18
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155B18#FFFFFF#000000##FFFFFF
##155B181.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520E
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #155b18;
/* rgb */ color: rgb(21, 91, 24);
/* oklch */ color: oklch(41.4% 0.121 143.5);
Tailwind
colors: {
  custom: {
    50: '#5f8a59',
    500: '#155b18',
    950: '#000000',
  },
}
SCSS
$custom: #155b18;
$custom-light: #5f8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#155b18",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 122.571,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41376,
    "c": 0.12065,
    "h": 143.5
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

primary
#155B18
secondary
#92398F
accent
#42DFE6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155B18

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

Preview Lab → · Contrast checker → · Palette generator →

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