#155A23#155A23

#155A23 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.110 H 146.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#155A23
RGBrgb(21, 90, 35)
HSLhsl(132, 62%, 22%)
HSVhsv(132, 77%, 35%)
CMYKcmyk(76.7%, 0%, 61.1%, 64.7%)
CIE-LABlab(33.12, -34.00, 25.44)
CIE-LCHlch(33.12, 42.46, 143.19°)
OKLaboklab(41.21% -0.0916 0.0605)
OKLCHoklch(41.21% 0.11 146.6)
XYZxyz(4.2685, 7.5926, 2.8304)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A23 #5A154C
analogous
#2A5A15 #155A23 #155A46
triadic
#155A23 #23155A #5A2315
tetradic
#155A23 #152A5A #5A154C #5A4615
square
#155A23 #152A5A #5A154C #5A4615
split-complementary
#155A23 #46155A #5A152A
monochromatic
#06190A #092810 #155A23 #218C36 #2CBD4A

Accessibility & contrast

On white

8.34
#155A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#155A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155A23
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A23#FFFFFF#000000##FFFFFF
##155A231.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511E
Deuteranopia (green-blind)
#534C27
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #155a23;
/* rgb */ color: rgb(21, 90, 35);
/* oklch */ color: oklch(41.2% 0.110 146.6);
Tailwind
colors: {
  custom: {
    50: '#5e8960',
    500: '#155a23',
    950: '#000000',
  },
}
SCSS
$custom: #155a23;
$custom-light: #5e8960;
$custom-dark: #000000;
JSON
{
  "hex": "#155a23",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 35
  },
  "hsl": {
    "h": 132.174,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.10983,
    "h": 146.6
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#155A23
secondary
#923980
accent
#43C4E5
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #155A23

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

Preview Lab → · Contrast checker → · Palette generator →

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