#155D28#155D28

#155D28 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.109 H 148.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#155D28
RGBrgb(21, 93, 40)
HSLhsl(136, 63%, 22%)
HSVhsv(136, 77%, 36%)
CMYKcmyk(77.4%, 0%, 57%, 63.5%)
CIE-LABlab(34.27, -34.41, 24.10)
CIE-LCHlch(34.27, 42.01, 144.99°)
OKLaboklab(42.19% -0.0926 0.0579)
OKLCHoklch(42.19% 0.109 148)
XYZxyz(4.6063, 8.1408, 3.3356)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D28 #5D154A
analogous
#265D15 #155D28 #155D4C
triadic
#155D28 #28155D #5D2815
tetradic
#155D28 #15265D #5D154A #5D4C15
square
#155D28 #15265D #5D154A #5D4C15
split-complementary
#155D28 #4C155D #5D1526
monochromatic
#06190B #0A2B13 #155D28 #208F3D #2CC153

Accessibility & contrast

On white

7.99
#155D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#155D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155D28
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155D28#FFFFFF#000000##FFFFFF
##155D281.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5423
Deuteranopia (green-blind)
#564E2C
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155d28;
/* rgb */ color: rgb(21, 93, 40);
/* oklch */ color: oklch(42.2% 0.109 148.0);
Tailwind
colors: {
  custom: {
    50: '#5f8c63',
    500: '#155d28',
    950: '#000000',
  },
}
SCSS
$custom: #155d28;
$custom-light: #5f8c63;
$custom-dark: #000000;
JSON
{
  "hex": "#155d28",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 40
  },
  "hsl": {
    "h": 135.833,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42188,
    "c": 0.10924,
    "h": 148
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#155D28
secondary
#94397C
accent
#42BBE6
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #155D28

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

Preview Lab → · Contrast checker → · Palette generator →

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