#155E1F#155E1F

#155E1F is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.119 H 145.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#155E1F
RGBrgb(21, 94, 31)
HSLhsl(128, 63%, 23%)
HSVhsv(128, 78%, 37%)
CMYKcmyk(77.7%, 0%, 67%, 63.1%)
CIE-LABlab(34.53, -36.11, 29.15)
CIE-LCHlch(34.53, 46.41, 141.09°)
OKLaboklab(42.36% -0.0975 0.0681)
OKLCHoklch(42.36% 0.119 145.1)
XYZxyz(4.5590, 8.2633, 2.6508)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E1F #5E1554
analogous
#305E15 #155E1F #155E43
triadic
#155E1F #1F155E #5E1F15
tetradic
#155E1F #15305E #5E1554 #5E4315
square
#155E1F #15305E #5E1554 #5E4315
split-complementary
#155E1F #43155E #5E1530
monochromatic
#061908 #0A2C0F #155E1F #20902F #2BC240

Accessibility & contrast

On white

7.92
#155E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#155E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155E1F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E1F#FFFFFF#000000##FFFFFF
##155E1F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#574F24
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155e1f;
/* rgb */ color: rgb(21, 94, 31);
/* oklch */ color: oklch(42.4% 0.119 145.1);
Tailwind
colors: {
  custom: {
    50: '#5f8c5d',
    500: '#155e1f',
    950: '#000000',
  },
}
SCSS
$custom: #155e1f;
$custom-light: #5f8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#155e1f",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 128.219,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4236,
    "c": 0.11897,
    "h": 145.1
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#155E1F
secondary
#953989
accent
#41D0E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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