#155F2C#155F2C

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

Color values

HEX#155F2C
RGBrgb(21, 95, 44)
HSLhsl(139, 64%, 23%)
HSVhsv(139, 78%, 37%)
CMYKcmyk(77.9%, 0%, 53.7%, 62.7%)
CIE-LABlab(35.05, -34.53, 22.83)
CIE-LCHlch(35.05, 41.39, 146.53°)
OKLaboklab(42.85% -0.0929 0.0553)
OKLCHoklch(42.85% 0.108 149.2)
XYZxyz(4.8557, 8.5251, 3.7720)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F2C #5F1548
analogous
#235F15 #155F2C #155F51
triadic
#155F2C #2C155F #5F2C15
tetradic
#155F2C #15235F #5F1548 #5F5115
square
#155F2C #15235F #5F1548 #5F5115
split-complementary
#155F2C #51155F #5F1523
monochromatic
#06190C #0A2D15 #155F2C #209143 #2BC35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155F2C#FFFFFF#000000##FFFFFF
##155F2C1.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)
#605628
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f2c;
/* rgb */ color: rgb(21, 95, 44);
/* oklch */ color: oklch(42.9% 0.108 149.2);
Tailwind
colors: {
  custom: {
    50: '#5f8d66',
    500: '#155f2c',
    950: '#000000',
  },
}
SCSS
$custom: #155f2c;
$custom-light: #5f8d66;
$custom-dark: #000000;
JSON
{
  "hex": "#155f2c",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 44
  },
  "hsl": {
    "h": 138.649,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42851,
    "c": 0.10813,
    "h": 149.2
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#155F2C
secondary
#963A79
accent
#41B3E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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