#155F2A#155F2A

#155F2A is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.110 H 148.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#155F2A
RGBrgb(21, 95, 42)
HSLhsl(137, 64%, 23%)
HSVhsv(137, 78%, 37%)
CMYKcmyk(77.9%, 0%, 55.8%, 62.7%)
CIE-LABlab(35.02, -34.87, 23.91)
CIE-LCHlch(35.02, 42.28, 145.57°)
OKLaboklab(42.82% -0.0938 0.0576)
OKLCHoklch(42.82% 0.11 148.4)
XYZxyz(4.8190, 8.5105, 3.5788)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F2A #5F154A
analogous
#255F15 #155F2A #155F4F
triadic
#155F2A #2A155F #5F2A15
tetradic
#155F2A #15255F #5F154A #5F4F15
square
#155F2A #15255F #5F154A #5F4F15
split-complementary
#155F2A #4F155F #5F1525
monochromatic
#06190B #0A2D14 #155F2A #209140 #2BC356

Accessibility & contrast

On white

7.77
#155F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#155F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F2A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F2A#FFFFFF#000000##FFFFFF
##155F2A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#57502E
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f2a;
/* rgb */ color: rgb(21, 95, 42);
/* oklch */ color: oklch(42.8% 0.110 148.4);
Tailwind
colors: {
  custom: {
    50: '#5f8d65',
    500: '#155f2a',
    950: '#000000',
  },
}
SCSS
$custom: #155f2a;
$custom-light: #5f8d65;
$custom-dark: #000000;
JSON
{
  "hex": "#155f2a",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 137.027,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42817,
    "c": 0.11012,
    "h": 148.4
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#155F2A
secondary
#963A7C
accent
#41B8E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #155F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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