#155A1B#155A1B

#155A1B is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.1% C 0.117 H 144.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#155A1B
RGBrgb(21, 90, 27)
HSLhsl(125, 62%, 22%)
HSVhsv(125, 77%, 35%)
CMYKcmyk(76.7%, 0%, 70%, 64.7%)
CIE-LABlab(33.03, -35.08, 29.45)
CIE-LCHlch(33.03, 45.80, 139.99°)
OKLaboklab(41.11% -0.0949 0.0683)
OKLCHoklch(41.11% 0.117 144.3)
XYZxyz(4.1630, 7.5504, 2.2747)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A1B #5A1554
analogous
#325A15 #155A1B #155A3E
triadic
#155A1B #1B155A #5A1B15
tetradic
#155A1B #15325A #5A1554 #5A3E15
square
#155A1B #15325A #5A1554 #5A3E15
split-complementary
#155A1B #3E155A #5A1532
monochromatic
#061907 #09280C #155A1B #218C2A #2CBD39

Accessibility & contrast

On white

8.37
#155A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#155A1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155A1B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A1B#FFFFFF#000000##FFFFFF
##155A1B1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5113
Deuteranopia (green-blind)
#544C21
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #155a1b;
/* rgb */ color: rgb(21, 90, 27);
/* oklch */ color: oklch(41.1% 0.117 144.3);
Tailwind
colors: {
  custom: {
    50: '#5f895a',
    500: '#155a1b',
    950: '#000000',
  },
}
SCSS
$custom: #155a1b;
$custom-light: #5f895a;
$custom-dark: #000000;
JSON
{
  "hex": "#155a1b",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 27
  },
  "hsl": {
    "h": 125.217,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41105,
    "c": 0.11695,
    "h": 144.3
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#155A1B
secondary
#92398A
accent
#43D7E5
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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