#155D22#155D22

#155D22 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.115 H 146.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#155D22
RGBrgb(21, 93, 34)
HSLhsl(131, 63%, 22%)
HSVhsv(131, 77%, 36%)
CMYKcmyk(77.4%, 0%, 63.4%, 63.5%)
CIE-LABlab(34.20, -35.32, 27.24)
CIE-LCHlch(34.20, 44.60, 142.36°)
OKLaboklab(42.1% -0.0953 0.0643)
OKLCHoklch(42.1% 0.115 146)
XYZxyz(4.5120, 8.1031, 2.8393)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D22 #5D1550
analogous
#2C5D15 #155D22 #155D46
triadic
#155D22 #22155D #5D2215
tetradic
#155D22 #152C5D #5D1550 #5D4615
square
#155D22 #152C5D #5D1550 #5D4615
split-complementary
#155D22 #46155D #5D152C
monochromatic
#061909 #0A2B10 #155D22 #208F34 #2CC147

Accessibility & contrast

On white

8.01
#155D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#155D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155D22
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155D22#FFFFFF#000000##FFFFFF
##155D221.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E541C
Deuteranopia (green-blind)
#564E27
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #155d22;
/* rgb */ color: rgb(21, 93, 34);
/* oklch */ color: oklch(42.1% 0.115 146.0);
Tailwind
colors: {
  custom: {
    50: '#5f8c5f',
    500: '#155d22',
    950: '#000000',
  },
}
SCSS
$custom: #155d22;
$custom-light: #5f8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#155d22",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 34
  },
  "hsl": {
    "h": 130.833,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.11496,
    "h": 146
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#155D22
secondary
#943984
accent
#42C8E6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #155D22

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

Preview Lab → · Contrast checker → · Palette generator →

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