#155C1B#155C1B

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

Color values

HEX#155C1B
RGBrgb(21, 92, 27)
HSLhsl(125, 63%, 22%)
HSVhsv(125, 77%, 36%)
CMYKcmyk(77.2%, 0%, 70.7%, 63.9%)
CIE-LABlab(33.76, -35.84, 30.25)
CIE-LCHlch(33.76, 46.90, 139.84°)
OKLaboklab(41.71% -0.097 0.07)
OKLCHoklch(41.71% 0.12 144.2)
XYZxyz(4.3340, 7.8924, 2.3317)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155C1B #5C1556
analogous
#335C15 #155C1B #155C3E
triadic
#155C1B #1B155C #5C1B15
tetradic
#155C1B #15335C #5C1556 #5C3E15
square
#155C1B #15335C #5C1556 #5C3E15
split-complementary
#155C1B #3E155C #5C1533
monochromatic
#061907 #0A2A0C #155C1B #208E2A #2CC038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155C1B#FFFFFF#000000##FFFFFF
##155C1B1.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)
#5E5313
Deuteranopia (green-blind)
#564D21
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155c1b;
/* rgb */ color: rgb(21, 92, 27);
/* oklch */ color: oklch(41.7% 0.120 144.2);
Tailwind
colors: {
  custom: {
    50: '#5f8b5b',
    500: '#155c1b',
    950: '#000000',
  },
}
SCSS
$custom: #155c1b;
$custom-light: #5f8b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#155c1b",
  "rgb": {
    "r": 21,
    "g": 92,
    "b": 27
  },
  "hsl": {
    "h": 125.07,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4171,
    "c": 0.11962,
    "h": 144.2
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#155C1B
secondary
#93398C
accent
#42D8E6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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