#155B21#155B21

#155B21 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.113 H 145.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#155B21
RGBrgb(21, 91, 33)
HSLhsl(130, 63%, 22%)
HSVhsv(130, 77%, 36%)
CMYKcmyk(76.9%, 0%, 63.7%, 64.3%)
CIE-LABlab(33.46, -34.68, 26.90)
CIE-LCHlch(33.46, 43.89, 142.20°)
OKLaboklab(41.48% -0.0936 0.0635)
OKLCHoklch(41.48% 0.113 145.8)
XYZxyz(4.3246, 7.7509, 2.7067)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B21 #5B154F
analogous
#2C5B15 #155B21 #155B44
triadic
#155B21 #21155B #5B2115
tetradic
#155B21 #152C5B #5B154F #5B4415
square
#155B21 #152C5B #5B154F #5B4415
split-complementary
#155B21 #44155B #5B152C
monochromatic
#061909 #0A290F #155B21 #208D33 #2CBE45

Accessibility & contrast

On white

8.23
#155B21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#155B21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155B21
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155B21#FFFFFF#000000##FFFFFF
##155B211.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521B
Deuteranopia (green-blind)
#544C26
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155b21;
/* rgb */ color: rgb(21, 91, 33);
/* oklch */ color: oklch(41.5% 0.113 145.8);
Tailwind
colors: {
  custom: {
    50: '#5e8a5e',
    500: '#155b21',
    950: '#000000',
  },
}
SCSS
$custom: #155b21;
$custom-light: #5e8a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#155b21",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 33
  },
  "hsl": {
    "h": 130.286,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41483,
    "c": 0.1131,
    "h": 145.8
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#155B21
secondary
#923983
accent
#42CAE6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #155B21

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

Preview Lab → · Contrast checker → · Palette generator →

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