#155F24#155F24

#155F24 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.116 H 146.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#155F24
RGBrgb(21, 95, 36)
HSLhsl(132, 64%, 23%)
HSVhsv(132, 78%, 37%)
CMYKcmyk(77.9%, 0%, 62.1%, 62.7%)
CIE-LABlab(34.94, -35.81, 27.06)
CIE-LCHlch(34.94, 44.89, 142.92°)
OKLaboklab(42.73% -0.0965 0.0641)
OKLCHoklch(42.73% 0.116 146.4)
XYZxyz(4.7196, 8.4707, 3.0550)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F24 #5F1550
analogous
#2B5F15 #155F24 #155F49
triadic
#155F24 #24155F #5F2415
tetradic
#155F24 #152B5F #5F1550 #5F4915
square
#155F24 #152B5F #5F1550 #5F4915
split-complementary
#155F24 #49155F #5F152B
monochromatic
#061909 #0A2D11 #155F24 #209137 #2BC34A

Accessibility & contrast

On white

7.79
#155F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#155F24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F24
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F24#FFFFFF#000000##FFFFFF
##155F241.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60561E
Deuteranopia (green-blind)
#585029
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f24;
/* rgb */ color: rgb(21, 95, 36);
/* oklch */ color: oklch(42.7% 0.116 146.4);
Tailwind
colors: {
  custom: {
    50: '#5f8d61',
    500: '#155f24',
    950: '#000000',
  },
}
SCSS
$custom: #155f24;
$custom-light: #5f8d61;
$custom-dark: #000000;
JSON
{
  "hex": "#155f24",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 36
  },
  "hsl": {
    "h": 132.162,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.11588,
    "h": 146.4
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#155F24
secondary
#963A83
accent
#41C5E7
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #155F24

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

Preview Lab → · Contrast checker → · Palette generator →

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