#155A17#155A17

#155A17 is a dark, vivid green. Relative luminance 0.075; OKLCH L 41.1% C 0.120 H 143.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#155A17
RGBrgb(21, 90, 23)
HSLhsl(122, 62%, 22%)
HSVhsv(122, 77%, 35%)
CMYKcmyk(76.7%, 0%, 74.4%, 64.7%)
CIE-LABlab(32.99, -35.53, 31.28)
CIE-LCHlch(32.99, 47.34, 138.64°)
OKLaboklab(41.06% -0.0963 0.0717)
OKLCHoklch(41.06% 0.12 143.4)
XYZxyz(4.1198, 7.5332, 2.0474)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A17 #5A1558
analogous
#365A15 #155A17 #155A3A
triadic
#155A17 #17155A #5A1715
tetradic
#155A17 #15365A #5A1558 #5A3A15
square
#155A17 #15365A #5A1558 #5A3A15
split-complementary
#155A17 #3A155A #5A1536
monochromatic
#061906 #09280A #155A17 #218C24 #2CBD30

Accessibility & contrast

On white

8.38
#155A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155A17
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A17#FFFFFF#000000##FFFFFF
##155A171.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155a17;
/* rgb */ color: rgb(21, 90, 23);
/* oklch */ color: oklch(41.1% 0.120 143.4);
Tailwind
colors: {
  custom: {
    50: '#5f8958',
    500: '#155a17',
    950: '#000000',
  },
}
SCSS
$custom: #155a17;
$custom-light: #5f8958;
$custom-dark: #000000;
JSON
{
  "hex": "#155a17",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 121.739,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.12008,
    "h": 143.4
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#155A17
secondary
#92398F
accent
#43E1E5
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #155A17

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

Preview Lab → · Contrast checker → · Palette generator →

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