#155E21#155E21

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

Color values

HEX#155E21
RGBrgb(21, 94, 33)
HSLhsl(130, 63%, 23%)
HSVhsv(130, 78%, 37%)
CMYKcmyk(77.7%, 0%, 64.9%, 63.1%)
CIE-LABlab(34.55, -35.85, 28.16)
CIE-LCHlch(34.55, 45.59, 141.85°)
OKLaboklab(42.39% -0.0967 0.0662)
OKLCHoklch(42.39% 0.117 145.6)
XYZxyz(4.5862, 8.2741, 2.7939)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E21 #5E1552
analogous
#2E5E15 #155E21 #155E45
triadic
#155E21 #21155E #5E2115
tetradic
#155E21 #152E5E #5E1552 #5E4515
square
#155E21 #152E5E #5E1552 #5E4515
split-complementary
#155E21 #45155E #5E152E
monochromatic
#061909 #0A2C0F #155E21 #209033 #2BC244

Accessibility & contrast

On white

7.91
#155E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#155E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155E21
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E21#FFFFFF#000000##FFFFFF
##155E211.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551A
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155e21;
/* rgb */ color: rgb(21, 94, 33);
/* oklch */ color: oklch(42.4% 0.117 145.6);
Tailwind
colors: {
  custom: {
    50: '#5f8c5f',
    500: '#155e21',
    950: '#000000',
  },
}
SCSS
$custom: #155e21;
$custom-light: #5f8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#155e21",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 33
  },
  "hsl": {
    "h": 129.863,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.11723,
    "h": 145.6
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#155E21
secondary
#953986
accent
#41CBE7
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155E21

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

Preview Lab → · Contrast checker → · Palette generator →

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