#155C1C#155C1C

#155C1C is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.119 H 144.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#155C1C
RGBrgb(21, 92, 28)
HSLhsl(126, 63%, 22%)
HSVhsv(126, 77%, 36%)
CMYKcmyk(77.2%, 0%, 69.6%, 63.9%)
CIE-LABlab(33.77, -35.73, 29.78)
CIE-LCHlch(33.77, 46.51, 140.19°)
OKLaboklab(41.72% -0.0966 0.0691)
OKLCHoklch(41.72% 0.119 144.4)
XYZxyz(4.3457, 7.8971, 2.3936)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155C1C #5C1555
analogous
#325C15 #155C1C #155C3F
triadic
#155C1C #1C155C #5C1C15
tetradic
#155C1C #15325C #5C1555 #5C3F15
square
#155C1C #15325C #5C1555 #5C3F15
split-complementary
#155C1C #3F155C #5C1532
monochromatic
#061908 #0A2A0D #155C1C #208E2B #2CC03A

Accessibility & contrast

On white

8.14
#155C1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#155C1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155C1C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155C1C#FFFFFF#000000##FFFFFF
##155C1C1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5314
Deuteranopia (green-blind)
#564D22
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155c1c;
/* rgb */ color: rgb(21, 92, 28);
/* oklch */ color: oklch(41.7% 0.119 144.4);
Tailwind
colors: {
  custom: {
    50: '#5f8b5b',
    500: '#155c1c',
    950: '#000000',
  },
}
SCSS
$custom: #155c1c;
$custom-light: #5f8b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#155c1c",
  "rgb": {
    "r": 21,
    "g": 92,
    "b": 28
  },
  "hsl": {
    "h": 125.915,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41721,
    "c": 0.1188,
    "h": 144.4
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#155C1C
secondary
#93398B
accent
#42D6E6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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