#155A27#155A27

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

Color values

HEX#155A27
RGBrgb(21, 90, 39)
HSLhsl(136, 62%, 22%)
HSVhsv(136, 77%, 35%)
CMYKcmyk(76.7%, 0%, 56.7%, 64.7%)
CIE-LABlab(33.17, -33.36, 23.31)
CIE-LCHlch(33.17, 40.70, 145.06°)
OKLaboklab(41.27% -0.0898 0.0561)
OKLCHoklch(41.27% 0.106 148)
XYZxyz(4.3313, 7.6178, 3.1612)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A27 #5A1548
analogous
#265A15 #155A27 #155A4A
triadic
#155A27 #27155A #5A2715
tetradic
#155A27 #15265A #5A1548 #5A4A15
square
#155A27 #15265A #5A1548 #5A4A15
split-complementary
#155A27 #4A155A #5A1526
monochromatic
#06190B #092811 #155A27 #218C3D #2CBD52

Accessibility & contrast

On white

8.32
#155A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155A27
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A27#FFFFFF#000000##FFFFFF
##155A271.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155a27;
/* rgb */ color: rgb(21, 90, 39);
/* oklch */ color: oklch(41.3% 0.106 148.0);
Tailwind
colors: {
  custom: {
    50: '#5e8962',
    500: '#155a27',
    950: '#000000',
  },
}
SCSS
$custom: #155a27;
$custom-light: #5e8962;
$custom-dark: #000000;
JSON
{
  "hex": "#155a27",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 39
  },
  "hsl": {
    "h": 135.652,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41273,
    "c": 0.10592,
    "h": 148
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#155A27
secondary
#92397B
accent
#43BBE5
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #155A27

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

Preview Lab → · Contrast checker → · Palette generator →

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