#155B17#155B17

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

Color values

HEX#155B17
RGBrgb(21, 91, 23)
HSLhsl(122, 63%, 22%)
HSVhsv(122, 77%, 36%)
CMYKcmyk(76.9%, 0%, 74.7%, 64.3%)
CIE-LABlab(33.36, -35.91, 31.67)
CIE-LCHlch(33.36, 47.88, 138.59°)
OKLaboklab(41.37% -0.0974 0.0725)
OKLCHoklch(41.37% 0.121 143.3)
XYZxyz(4.2047, 7.7030, 2.0757)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B17 #5B1559
analogous
#365B15 #155B17 #155B3A
triadic
#155B17 #17155B #5B1715
tetradic
#155B17 #15365B #5B1559 #5B3A15
square
#155B17 #15365B #5B1559 #5B3A15
split-complementary
#155B17 #3A155B #5B1536
monochromatic
#061906 #0A290A #155B17 #208D24 #2CBE30

Accessibility & contrast

On white

8.27
#155B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155B17
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155B17#FFFFFF#000000##FFFFFF
##155B171.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155b17;
/* rgb */ color: rgb(21, 91, 23);
/* oklch */ color: oklch(41.4% 0.121 143.3);
Tailwind
colors: {
  custom: {
    50: '#5f8a58',
    500: '#155b17',
    950: '#000000',
  },
}
SCSS
$custom: #155b17;
$custom-light: #5f8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#155b17",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 121.714,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41366,
    "c": 0.12139,
    "h": 143.3
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#155B17
secondary
#923990
accent
#42E1E6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #155B17

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

Preview Lab → · Contrast checker → · Palette generator →

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