#155C1F#155C1F

#155C1F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.116 H 145.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#155C1F
RGBrgb(21, 92, 31)
HSLhsl(128, 63%, 22%)
HSVhsv(128, 77%, 36%)
CMYKcmyk(77.2%, 0%, 66.3%, 63.9%)
CIE-LABlab(33.80, -35.35, 28.33)
CIE-LCHlch(33.80, 45.30, 141.29°)
OKLaboklab(41.76% -0.0954 0.0664)
OKLCHoklch(41.76% 0.116 145.2)
XYZxyz(4.3834, 7.9122, 2.5922)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155C1F #5C1552
analogous
#2E5C15 #155C1F #155C43
triadic
#155C1F #1F155C #5C1F15
tetradic
#155C1F #152E5C #5C1552 #5C4315
square
#155C1F #152E5C #5C1552 #5C4315
split-complementary
#155C1F #43155C #5C152E
monochromatic
#061908 #0A2A0E #155C1F #208E30 #2CC041

Accessibility & contrast

On white

8.13
#155C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155C1F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155C1F#FFFFFF#000000##FFFFFF
##155C1F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5318
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155c1f;
/* rgb */ color: rgb(21, 92, 31);
/* oklch */ color: oklch(41.8% 0.116 145.2);
Tailwind
colors: {
  custom: {
    50: '#5f8b5d',
    500: '#155c1f',
    950: '#000000',
  },
}
SCSS
$custom: #155c1f;
$custom-light: #5f8b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#155c1f",
  "rgb": {
    "r": 21,
    "g": 92,
    "b": 31
  },
  "hsl": {
    "h": 128.451,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41758,
    "c": 0.11626,
    "h": 145.2
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #155C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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