#155B2F#155B2F

#155B2F is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.099 H 151.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#155B2F
RGBrgb(21, 91, 47)
HSLhsl(142, 63%, 22%)
HSVhsv(142, 77%, 36%)
CMYKcmyk(76.9%, 0%, 48.4%, 64.3%)
CIE-LABlab(33.66, -32.33, 19.34)
CIE-LCHlch(33.66, 37.68, 149.11°)
OKLaboklab(41.72% -0.087 0.0476)
OKLCHoklch(41.72% 0.099 151.3)
XYZxyz(4.5631, 7.8463, 3.9628)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B2F #5B1541
analogous
#1E5B15 #155B2F #155B52
triadic
#155B2F #2F155B #5B2F15
tetradic
#155B2F #151E5B #5B1541 #5B5215
square
#155B2F #151E5B #5B1541 #5B5215
split-complementary
#155B2F #52155B #5B151E
monochromatic
#06190D #0A2915 #155B2F #208D49 #2CBE62

Accessibility & contrast

On white

8.17
#155B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#155B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155B2F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155B2F#FFFFFF#000000##FFFFFF
##155B2F1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532C
Deuteranopia (green-blind)
#534D32
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155b2f;
/* rgb */ color: rgb(21, 91, 47);
/* oklch */ color: oklch(41.7% 0.099 151.3);
Tailwind
colors: {
  custom: {
    50: '#5e8a68',
    500: '#155b2f',
    950: '#000000',
  },
}
SCSS
$custom: #155b2f;
$custom-light: #5e8a68;
$custom-dark: #000000;
JSON
{
  "hex": "#155b2f",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 47
  },
  "hsl": {
    "h": 142.286,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41716,
    "c": 0.09919,
    "h": 151.3
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#155B2F
secondary
#923971
accent
#42A9E6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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