#155D1F#155D1F

#155D1F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.118 H 145.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#155D1F
RGBrgb(21, 93, 31)
HSLhsl(128, 63%, 22%)
HSVhsv(128, 77%, 36%)
CMYKcmyk(77.4%, 0%, 66.7%, 63.5%)
CIE-LABlab(34.16, -35.73, 28.74)
CIE-LCHlch(34.16, 45.85, 141.19°)
OKLaboklab(42.06% -0.0965 0.0673)
OKLCHoklch(42.06% 0.118 145.1)
XYZxyz(4.4706, 8.0866, 2.6213)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D1F #5D1553
analogous
#2F5D15 #155D1F #155D43
triadic
#155D1F #1F155D #5D1F15
tetradic
#155D1F #152F5D #5D1553 #5D4315
square
#155D1F #152F5D #5D1553 #5D4315
split-complementary
#155D1F #43155D #5D152F
monochromatic
#061908 #0A2B0E #155D1F #208F30 #2CC140

Accessibility & contrast

On white

8.02
#155D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#155D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155D1F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155D1F#FFFFFF#000000##FFFFFF
##155D1F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5418
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #155d1f;
/* rgb */ color: rgb(21, 93, 31);
/* oklch */ color: oklch(42.1% 0.118 145.1);
Tailwind
colors: {
  custom: {
    50: '#5f8c5d',
    500: '#155d1f',
    950: '#000000',
  },
}
SCSS
$custom: #155d1f;
$custom-light: #5f8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#155d1f",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 31
  },
  "hsl": {
    "h": 128.333,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.11761,
    "h": 145.1
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#155D1F
secondary
#943988
accent
#42CFE6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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