#155E28#155E28

#155E28 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.111 H 147.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#155E28
RGBrgb(21, 94, 40)
HSLhsl(136, 63%, 23%)
HSVhsv(136, 78%, 37%)
CMYKcmyk(77.7%, 0%, 57.4%, 63.1%)
CIE-LABlab(34.64, -34.80, 24.54)
CIE-LCHlch(34.64, 42.59, 144.81°)
OKLaboklab(42.49% -0.0937 0.0589)
OKLCHoklch(42.49% 0.111 147.8)
XYZxyz(4.6946, 8.3175, 3.3651)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E28 #5E154B
analogous
#275E15 #155E28 #155E4C
triadic
#155E28 #28155E #5E2815
tetradic
#155E28 #15275E #5E154B #5E4C15
square
#155E28 #15275E #5E154B #5E4C15
split-complementary
#155E28 #4C155E #5E1527
monochromatic
#06190B #0A2C13 #155E28 #20903D #2BC253

Accessibility & contrast

On white

7.88
#155E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155E28
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E28#FFFFFF#000000##FFFFFF
##155E281.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5523
Deuteranopia (green-blind)
#574F2C
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155e28;
/* rgb */ color: rgb(21, 94, 40);
/* oklch */ color: oklch(42.5% 0.111 147.8);
Tailwind
colors: {
  custom: {
    50: '#5f8c63',
    500: '#155e28',
    950: '#000000',
  },
}
SCSS
$custom: #155e28;
$custom-light: #5f8c63;
$custom-dark: #000000;
JSON
{
  "hex": "#155e28",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 40
  },
  "hsl": {
    "h": 135.616,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42487,
    "c": 0.11067,
    "h": 147.8
  },
  "luminance": 0.08318
}

Semantic roles & 50–950 ramp

primary
#155E28
secondary
#95397D
accent
#41BCE7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #155E28

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

Preview Lab → · Contrast checker → · Palette generator →

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