#155A1F#155A1F

#155A1F is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.114 H 145.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#155A1F
RGBrgb(21, 90, 31)
HSLhsl(129, 62%, 22%)
HSVhsv(129, 77%, 35%)
CMYKcmyk(76.7%, 0%, 65.6%, 64.7%)
CIE-LABlab(33.07, -34.57, 27.49)
CIE-LCHlch(33.07, 44.17, 141.50°)
OKLaboklab(41.16% -0.0933 0.0646)
OKLCHoklch(41.16% 0.114 145.3)
XYZxyz(4.2125, 7.5702, 2.5353)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A1F #5A1550
analogous
#2E5A15 #155A1F #155A42
triadic
#155A1F #1F155A #5A1F15
tetradic
#155A1F #152E5A #5A1550 #5A4215
square
#155A1F #152E5A #5A1550 #5A4215
split-complementary
#155A1F #42155A #5A152E
monochromatic
#061909 #09280E #155A1F #218C30 #2CBD41

Accessibility & contrast

On white

8.35
#155A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155A1F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A1F#FFFFFF#000000##FFFFFF
##155A1F1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5119
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #155a1f;
/* rgb */ color: rgb(21, 90, 31);
/* oklch */ color: oklch(41.2% 0.114 145.3);
Tailwind
colors: {
  custom: {
    50: '#5e895d',
    500: '#155a1f',
    950: '#000000',
  },
}
SCSS
$custom: #155a1f;
$custom-light: #5e895d;
$custom-dark: #000000;
JSON
{
  "hex": "#155a1f",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 31
  },
  "hsl": {
    "h": 128.696,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41155,
    "c": 0.11352,
    "h": 145.3
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#155A1F
secondary
#923985
accent
#43CEE5
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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