#155E2A#155E2A

#155E2A is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.109 H 148.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#155E2A
RGBrgb(21, 94, 42)
HSLhsl(137, 63%, 23%)
HSVhsv(137, 78%, 37%)
CMYKcmyk(77.7%, 0%, 55.3%, 63.1%)
CIE-LABlab(34.66, -34.47, 23.47)
CIE-LCHlch(34.66, 41.70, 145.76°)
OKLaboklab(42.52% -0.0928 0.0567)
OKLCHoklch(42.52% 0.109 148.6)
XYZxyz(4.7295, 8.3315, 3.5489)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E2A #5E1549
analogous
#255E15 #155E2A #155E4E
triadic
#155E2A #2A155E #5E2A15
tetradic
#155E2A #15255E #5E1549 #5E4E15
square
#155E2A #15255E #5E1549 #5E4E15
split-complementary
#155E2A #4E155E #5E1525
monochromatic
#06190B #0A2C14 #155E2A #209040 #2BC257

Accessibility & contrast

On white

7.88
#155E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#155E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155E2A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E2A#FFFFFF#000000##FFFFFF
##155E2A1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5526
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155e2a;
/* rgb */ color: rgb(21, 94, 42);
/* oklch */ color: oklch(42.5% 0.109 148.6);
Tailwind
colors: {
  custom: {
    50: '#5f8c65',
    500: '#155e2a',
    950: '#000000',
  },
}
SCSS
$custom: #155e2a;
$custom-light: #5f8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#155e2a",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 42
  },
  "hsl": {
    "h": 137.26,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42519,
    "c": 0.1087,
    "h": 148.6
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#155E2A
secondary
#95397B
accent
#41B7E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #155E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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