#155B2A#155B2A

#155B2A is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.104 H 149.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#155B2A
RGBrgb(21, 91, 42)
HSLhsl(138, 63%, 22%)
HSVhsv(138, 77%, 36%)
CMYKcmyk(76.9%, 0%, 53.8%, 64.3%)
CIE-LABlab(33.58, -33.26, 22.12)
CIE-LCHlch(33.58, 39.95, 146.37°)
OKLaboklab(41.62% -0.0895 0.0537)
OKLCHoklch(41.62% 0.104 149.1)
XYZxyz(4.4679, 7.8083, 3.4617)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B2A #5B1546
analogous
#235B15 #155B2A #155B4D
triadic
#155B2A #2A155B #5B2A15
tetradic
#155B2A #15235B #5B1546 #5B4D15
square
#155B2A #15235B #5B1546 #5B4D15
split-complementary
#155B2A #4D155B #5B1523
monochromatic
#06190B #0A2913 #155B2A #208D41 #2CBE58

Accessibility & contrast

On white

8.20
#155B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#155B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155B2A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155B2A#FFFFFF#000000##FFFFFF
##155B2A1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5226
Deuteranopia (green-blind)
#534D2E
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155b2a;
/* rgb */ color: rgb(21, 91, 42);
/* oklch */ color: oklch(41.6% 0.104 149.1);
Tailwind
colors: {
  custom: {
    50: '#5e8a64',
    500: '#155b2a',
    950: '#000000',
  },
}
SCSS
$custom: #155b2a;
$custom-light: #5e8a64;
$custom-dark: #000000;
JSON
{
  "hex": "#155b2a",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 42
  },
  "hsl": {
    "h": 138,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41623,
    "c": 0.10436,
    "h": 149.1
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#155B2A
secondary
#923978
accent
#42B5E6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #155B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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