#155D2F#155D2F

#155D2F is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.102 H 150.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#155D2F
RGBrgb(21, 93, 47)
HSLhsl(142, 63%, 22%)
HSVhsv(142, 77%, 36%)
CMYKcmyk(77.4%, 0%, 49.5%, 63.5%)
CIE-LABlab(34.38, -33.17, 20.26)
CIE-LCHlch(34.38, 38.87, 148.57°)
OKLaboklab(42.31% -0.0892 0.0497)
OKLCHoklch(42.31% 0.102 150.9)
XYZxyz(4.7363, 8.1928, 4.0205)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155D2F #5D1543
analogous
#1F5D15 #155D2F #155D53
triadic
#155D2F #2F155D #5D2F15
tetradic
#155D2F #151F5D #5D1543 #5D5315
square
#155D2F #151F5D #5D1543 #5D5315
split-complementary
#155D2F #53155D #5D151F
monochromatic
#06190D #0A2B16 #155D2F #208F48 #2CC161

Accessibility & contrast

On white

7.96
#155D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#155D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155D2F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155D2F#FFFFFF#000000##FFFFFF
##155D2F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D552B
Deuteranopia (green-blind)
#554E32
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155d2f;
/* rgb */ color: rgb(21, 93, 47);
/* oklch */ color: oklch(42.3% 0.102 150.9);
Tailwind
colors: {
  custom: {
    50: '#5e8c68',
    500: '#155d2f',
    950: '#000000',
  },
}
SCSS
$custom: #155d2f;
$custom-light: #5e8c68;
$custom-dark: #000000;
JSON
{
  "hex": "#155d2f",
  "rgb": {
    "r": 21,
    "g": 93,
    "b": 47
  },
  "hsl": {
    "h": 141.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42311,
    "c": 0.10215,
    "h": 150.9
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#155D2F
secondary
#943974
accent
#42ABE6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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