#155B1F#155B1F

#155B1F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.115 H 145.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#155B1F
RGBrgb(21, 91, 31)
HSLhsl(129, 63%, 22%)
HSVhsv(129, 77%, 36%)
CMYKcmyk(76.9%, 0%, 65.9%, 64.3%)
CIE-LABlab(33.44, -34.96, 27.91)
CIE-LCHlch(33.44, 44.73, 141.40°)
OKLaboklab(41.46% -0.0944 0.0655)
OKLCHoklch(41.46% 0.115 145.3)
XYZxyz(4.2974, 7.7400, 2.5636)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B1F #5B1551
analogous
#2E5B15 #155B1F #155B42
triadic
#155B1F #1F155B #5B1F15
tetradic
#155B1F #152E5B #5B1551 #5B4215
square
#155B1F #152E5B #5B1551 #5B4215
split-complementary
#155B1F #42155B #5B152E
monochromatic
#061908 #0A290E #155B1F #208D30 #2CBE41

Accessibility & contrast

On white

8.24
#155B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#155B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155B1F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155B1F#FFFFFF#000000##FFFFFF
##155B1F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5218
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155b1f;
/* rgb */ color: rgb(21, 91, 31);
/* oklch */ color: oklch(41.5% 0.115 145.3);
Tailwind
colors: {
  custom: {
    50: '#5f8a5d',
    500: '#155b1f',
    950: '#000000',
  },
}
SCSS
$custom: #155b1f;
$custom-light: #5f8a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#155b1f",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 31
  },
  "hsl": {
    "h": 128.571,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41457,
    "c": 0.11489,
    "h": 145.3
  },
  "luminance": 0.07741
}

Semantic roles & 50–950 ramp

primary
#155B1F
secondary
#923986
accent
#42CEE6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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