#155F2D#155F2D

#155F2D is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.107 H 149.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#155F2D
RGBrgb(21, 95, 45)
HSLhsl(139, 64%, 23%)
HSVhsv(139, 78%, 37%)
CMYKcmyk(77.9%, 0%, 52.6%, 62.7%)
CIE-LABlab(35.07, -34.35, 22.28)
CIE-LCHlch(35.07, 40.95, 147.04°)
OKLaboklab(42.87% -0.0924 0.0542)
OKLCHoklch(42.87% 0.107 149.6)
XYZxyz(4.8747, 8.5328, 3.8722)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F2D #5F1547
analogous
#225F15 #155F2D #155F52
triadic
#155F2D #2D155F #5F2D15
tetradic
#155F2D #15225F #5F1547 #5F5215
square
#155F2D #15225F #5F1547 #5F5215
split-complementary
#155F2D #52155F #5F1522
monochromatic
#06190C #0A2D15 #155F2D #209145 #2BC35C

Accessibility & contrast

On white

7.76
#155F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#155F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F2D
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F2D#FFFFFF#000000##FFFFFF
##155F2D1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605629
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f2d;
/* rgb */ color: rgb(21, 95, 45);
/* oklch */ color: oklch(42.9% 0.107 149.6);
Tailwind
colors: {
  custom: {
    50: '#5f8d67',
    500: '#155f2d',
    950: '#000000',
  },
}
SCSS
$custom: #155f2d;
$custom-light: #5f8d67;
$custom-dark: #000000;
JSON
{
  "hex": "#155f2d",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 45
  },
  "hsl": {
    "h": 139.459,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42869,
    "c": 0.10711,
    "h": 149.6
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#155F2D
secondary
#963A78
accent
#41B1E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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