#155D1C#155D1C

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

Color values

HEX#155D1C
RGBrgb(21, 93, 28)
HSLhsl(126, 63%, 22%)
HSVhsv(126, 77%, 36%)
CMYKcmyk(77.4%, 0%, 69.9%, 63.5%)
CIE-LABlab(34.13, -36.11, 30.18)
CIE-LCHlch(34.13, 47.06, 140.11°)
OKLaboklab(42.02% -0.0976 0.07)
OKLCHoklch(42.02% 0.12 144.4)
XYZxyz(4.4329, 8.0715, 2.4227)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D1C #5D1556
analogous
#325D15 #155D1C #155D40
triadic
#155D1C #1C155D #5D1C15
tetradic
#155D1C #15325D #5D1556 #5D4015
square
#155D1C #15325D #5D1556 #5D4015
split-complementary
#155D1C #40155D #5D1532
monochromatic
#061908 #0A2B0D #155D1C #208F2B #2CC13A

Accessibility & contrast

On white

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

On black

2.61
#155D1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##155D1C#FFFFFF#000000##FFFFFF
##155D1C1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5414
Deuteranopia (green-blind)
#574E22
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #155d1c;
/* rgb */ color: rgb(21, 93, 28);
/* oklch */ color: oklch(42.0% 0.120 144.4);
Tailwind
colors: {
  custom: {
    50: '#5f8c5b',
    500: '#155d1c',
    950: '#000000',
  },
}
SCSS
$custom: #155d1c;
$custom-light: #5f8c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#155d1c",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 28
  },
  "hsl": {
    "h": 125.833,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42023,
    "c": 0.12014,
    "h": 144.4
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#155D1C
secondary
#94398C
accent
#42D6E6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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