#155D1D#155D1D

#155D1D is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.0% C 0.119 H 144.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#155D1D
RGBrgb(21, 93, 29)
HSLhsl(127, 63%, 22%)
HSVhsv(127, 77%, 36%)
CMYKcmyk(77.4%, 0%, 68.8%, 63.5%)
CIE-LABlab(34.14, -35.98, 29.71)
CIE-LCHlch(34.14, 46.66, 140.46°)
OKLaboklab(42.04% -0.0973 0.0691)
OKLCHoklch(42.04% 0.119 144.6)
XYZxyz(4.4451, 8.0763, 2.4868)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D1D #5D1555
analogous
#315D15 #155D1D #155D41
triadic
#155D1D #1D155D #5D1D15
tetradic
#155D1D #15315D #5D1555 #5D4115
square
#155D1D #15315D #5D1555 #5D4115
split-complementary
#155D1D #41155D #5D1531
monochromatic
#061908 #0A2B0D #155D1D #208F2D #2CC13C

Accessibility & contrast

On white

8.03
#155D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155D1D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155D1D#FFFFFF#000000##FFFFFF
##155D1D1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155d1d;
/* rgb */ color: rgb(21, 93, 29);
/* oklch */ color: oklch(42.0% 0.119 144.6);
Tailwind
colors: {
  custom: {
    50: '#5f8c5c',
    500: '#155d1d',
    950: '#000000',
  },
}
SCSS
$custom: #155d1d;
$custom-light: #5f8c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#155d1d",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 29
  },
  "hsl": {
    "h": 126.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42035,
    "c": 0.11932,
    "h": 144.6
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#155D1D
secondary
#94398A
accent
#42D4E6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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