#155E27#155E27

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

Color values

HEX#155E27
RGBrgb(21, 94, 39)
HSLhsl(135, 63%, 23%)
HSVhsv(135, 78%, 37%)
CMYKcmyk(77.7%, 0%, 58.5%, 63.1%)
CIE-LABlab(34.62, -34.96, 25.07)
CIE-LCHlch(34.62, 43.02, 144.36°)
OKLaboklab(42.47% -0.0941 0.06)
OKLCHoklch(42.47% 0.112 147.5)
XYZxyz(4.6778, 8.3108, 3.2767)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E27 #5E154C
analogous
#275E15 #155E27 #155E4C
triadic
#155E27 #27155E #5E2715
tetradic
#155E27 #15275E #5E154C #5E4C15
square
#155E27 #15275E #5E154C #5E4C15
split-complementary
#155E27 #4C155E #5E1527
monochromatic
#06190A #0A2C12 #155E27 #20903C #2BC251

Accessibility & contrast

On white

7.89
#155E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#155E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155E27
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E27#FFFFFF#000000##FFFFFF
##155E271.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5522
Deuteranopia (green-blind)
#574F2B
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155e27;
/* rgb */ color: rgb(21, 94, 39);
/* oklch */ color: oklch(42.5% 0.112 147.5);
Tailwind
colors: {
  custom: {
    50: '#5f8c63',
    500: '#155e27',
    950: '#000000',
  },
}
SCSS
$custom: #155e27;
$custom-light: #5f8c63;
$custom-dark: #000000;
JSON
{
  "hex": "#155e27",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 39
  },
  "hsl": {
    "h": 134.795,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42471,
    "c": 0.11164,
    "h": 147.5
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#155E27
secondary
#95397F
accent
#41BEE7
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #155E27

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

Preview Lab → · Contrast checker → · Palette generator →

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