#155F22#155F22

#155F22 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.118 H 145.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#155F22
RGBrgb(21, 95, 34)
HSLhsl(131, 64%, 23%)
HSVhsv(131, 78%, 37%)
CMYKcmyk(77.9%, 0%, 64.2%, 62.7%)
CIE-LABlab(34.92, -36.09, 28.08)
CIE-LCHlch(34.92, 45.73, 142.12°)
OKLaboklab(42.7% -0.0974 0.0661)
OKLCHoklch(42.7% 0.118 145.8)
XYZxyz(4.6899, 8.4588, 2.8986)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F22 #5F1552
analogous
#2D5F15 #155F22 #155F47
triadic
#155F22 #22155F #5F2215
tetradic
#155F22 #152D5F #5F1552 #5F4715
square
#155F22 #152D5F #5F1552 #5F4715
split-complementary
#155F22 #47155F #5F152D
monochromatic
#061909 #0A2D10 #155F22 #209134 #2BC346

Accessibility & contrast

On white

7.80
#155F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#155F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F22
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F22#FFFFFF#000000##FFFFFF
##155F221.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561C
Deuteranopia (green-blind)
#585027
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f22;
/* rgb */ color: rgb(21, 95, 34);
/* oklch */ color: oklch(42.7% 0.118 145.8);
Tailwind
colors: {
  custom: {
    50: '#5f8d5f',
    500: '#155f22',
    950: '#000000',
  },
}
SCSS
$custom: #155f22;
$custom-light: #5f8d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#155f22",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 34
  },
  "hsl": {
    "h": 130.541,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42698,
    "c": 0.1177,
    "h": 145.8
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#155F22
secondary
#963A86
accent
#41CAE7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #155F22

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

Preview Lab → · Contrast checker → · Palette generator →

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