#155E2D#155E2D

#155E2D is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.106 H 149.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#155E2D
RGBrgb(21, 94, 45)
HSLhsl(140, 63%, 23%)
HSVhsv(140, 78%, 37%)
CMYKcmyk(77.7%, 0%, 52.1%, 63.1%)
CIE-LABlab(34.71, -33.95, 21.83)
CIE-LCHlch(34.71, 40.36, 147.26°)
OKLaboklab(42.57% -0.0913 0.0532)
OKLCHoklch(42.57% 0.106 149.8)
XYZxyz(4.7852, 8.3538, 3.8424)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E2D #5E1546
analogous
#225E15 #155E2D #155E51
triadic
#155E2D #2D155E #5E2D15
tetradic
#155E2D #15225E #5E1546 #5E5115
square
#155E2D #15225E #5E1546 #5E5115
split-complementary
#155E2D #51155E #5E1522
monochromatic
#06190C #0A2C15 #155E2D #209045 #2BC25D

Accessibility & contrast

On white

7.86
#155E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#155E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155E2D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E2D#FFFFFF#000000##FFFFFF
##155E2D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5529
Deuteranopia (green-blind)
#564F31
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155e2d;
/* rgb */ color: rgb(21, 94, 45);
/* oklch */ color: oklch(42.6% 0.106 149.8);
Tailwind
colors: {
  custom: {
    50: '#5f8c67',
    500: '#155e2d',
    950: '#000000',
  },
}
SCSS
$custom: #155e2d;
$custom-light: #5f8c67;
$custom-dark: #000000;
JSON
{
  "hex": "#155e2d",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 45
  },
  "hsl": {
    "h": 139.726,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42571,
    "c": 0.10567,
    "h": 149.8
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#155E2D
secondary
#953977
accent
#41B0E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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