#155A2A#155A2A

#155A2A is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.103 H 149.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#155A2A
RGBrgb(21, 90, 42)
HSLhsl(138, 62%, 22%)
HSVhsv(138, 77%, 35%)
CMYKcmyk(76.7%, 0%, 53.3%, 64.7%)
CIE-LABlab(33.22, -32.85, 21.67)
CIE-LCHlch(33.22, 39.35, 146.58°)
OKLaboklab(41.32% -0.0884 0.0526)
OKLCHoklch(41.32% 0.103 149.2)
XYZxyz(4.3830, 7.6384, 3.4334)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A2A #5A1545
analogous
#235A15 #155A2A #155A4D
triadic
#155A2A #2A155A #5A2A15
tetradic
#155A2A #15235A #5A1545 #5A4D15
square
#155A2A #15235A #5A1545 #5A4D15
split-complementary
#155A2A #4D155A #5A1523
monochromatic
#06190C #092813 #155A2A #218C41 #2CBD58

Accessibility & contrast

On white

8.31
#155A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#155A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155A2A
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A2A#FFFFFF#000000##FFFFFF
##155A2A1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5226
Deuteranopia (green-blind)
#534C2D
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #155a2a;
/* rgb */ color: rgb(21, 90, 42);
/* oklch */ color: oklch(41.3% 0.103 149.2);
Tailwind
colors: {
  custom: {
    50: '#5e8964',
    500: '#155a2a',
    950: '#000000',
  },
}
SCSS
$custom: #155a2a;
$custom-light: #5e8964;
$custom-dark: #000000;
JSON
{
  "hex": "#155a2a",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 42
  },
  "hsl": {
    "h": 138.261,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.10289,
    "h": 149.2
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#155A2A
secondary
#923977
accent
#43B4E5
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #155A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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