#155F27#155F27

#155F27 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.113 H 147.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#155F27
RGBrgb(21, 95, 39)
HSLhsl(135, 64%, 23%)
HSVhsv(135, 78%, 37%)
CMYKcmyk(77.9%, 0%, 58.9%, 62.7%)
CIE-LABlab(34.98, -35.36, 25.50)
CIE-LCHlch(34.98, 43.60, 144.20°)
OKLaboklab(42.77% -0.0952 0.061)
OKLCHoklch(42.77% 0.113 147.4)
XYZxyz(4.7673, 8.4898, 3.3065)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F27 #5F154D
analogous
#285F15 #155F27 #155F4C
triadic
#155F27 #27155F #5F2715
tetradic
#155F27 #15285F #5F154D #5F4C15
square
#155F27 #15285F #5F154D #5F4C15
split-complementary
#155F27 #4C155F #5F1528
monochromatic
#06190A #0A2D12 #155F27 #20913C #2BC350

Accessibility & contrast

On white

7.78
#155F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#155F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F27
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F27#FFFFFF#000000##FFFFFF
##155F271.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605622
Deuteranopia (green-blind)
#58502B
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f27;
/* rgb */ color: rgb(21, 95, 39);
/* oklch */ color: oklch(42.8% 0.113 147.4);
Tailwind
colors: {
  custom: {
    50: '#5f8d63',
    500: '#155f27',
    950: '#000000',
  },
}
SCSS
$custom: #155f27;
$custom-light: #5f8d63;
$custom-dark: #000000;
JSON
{
  "hex": "#155f27",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 39
  },
  "hsl": {
    "h": 134.595,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4277,
    "c": 0.11305,
    "h": 147.4
  },
  "luminance": 0.0849
}

Semantic roles & 50–950 ramp

primary
#155F27
secondary
#963A80
accent
#41BEE7
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #155F27

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

Preview Lab → · Contrast checker → · Palette generator →

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