#155E22#155E22

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

Color values

HEX#155E22
RGBrgb(21, 94, 34)
HSLhsl(131, 63%, 23%)
HSVhsv(131, 78%, 37%)
CMYKcmyk(77.7%, 0%, 63.8%, 63.1%)
CIE-LABlab(34.56, -35.71, 27.66)
CIE-LCHlch(34.56, 45.17, 142.24°)
OKLaboklab(42.4% -0.0963 0.0652)
OKLCHoklch(42.4% 0.116 145.9)
XYZxyz(4.6004, 8.2798, 2.8688)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E22 #5E1551
analogous
#2C5E15 #155E22 #155E46
triadic
#155E22 #22155E #5E2215
tetradic
#155E22 #152C5E #5E1551 #5E4615
square
#155E22 #152C5E #5E1551 #5E4615
split-complementary
#155E22 #46155E #5E152C
monochromatic
#061909 #0A2C10 #155E22 #209034 #2BC246

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155E22#FFFFFF#000000##FFFFFF
##155E221.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)
#5F551C
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155e22;
/* rgb */ color: rgb(21, 94, 34);
/* oklch */ color: oklch(42.4% 0.116 145.9);
Tailwind
colors: {
  custom: {
    50: '#5f8c5f',
    500: '#155e22',
    950: '#000000',
  },
}
SCSS
$custom: #155e22;
$custom-light: #5f8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#155e22",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 34
  },
  "hsl": {
    "h": 130.685,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42398,
    "c": 0.11632,
    "h": 145.9
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#155E22
secondary
#953985
accent
#41C9E7
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #155E22

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

Preview Lab → · Contrast checker → · Palette generator →

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