#155C2F#155C2F

#155C2F is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.101 H 151.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#155C2F
RGBrgb(21, 92, 47)
HSLhsl(142, 63%, 22%)
HSVhsv(142, 77%, 36%)
CMYKcmyk(77.2%, 0%, 48.9%, 63.9%)
CIE-LABlab(34.02, -32.75, 19.80)
CIE-LCHlch(34.02, 38.27, 148.84°)
OKLaboklab(42.01% -0.0882 0.0486)
OKLCHoklch(42.01% 0.101 151.1)
XYZxyz(4.6491, 8.0184, 3.9915)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155C2F #5C1542
analogous
#1E5C15 #155C2F #155C53
triadic
#155C2F #2F155C #5C2F15
tetradic
#155C2F #151E5C #5C1542 #5C5315
square
#155C2F #151E5C #5C1542 #5C5315
split-complementary
#155C2F #53155C #5C151E
monochromatic
#06190D #0A2A16 #155C2F #208E48 #2CC062

Accessibility & contrast

On white

8.07
#155C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#155C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155C2F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155C2F#FFFFFF#000000##FFFFFF
##155C2F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C542C
Deuteranopia (green-blind)
#544E32
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #155c2f;
/* rgb */ color: rgb(21, 92, 47);
/* oklch */ color: oklch(42.0% 0.101 151.1);
Tailwind
colors: {
  custom: {
    50: '#5e8b68',
    500: '#155c2f',
    950: '#000000',
  },
}
SCSS
$custom: #155c2f;
$custom-light: #5e8b68;
$custom-dark: #000000;
JSON
{
  "hex": "#155c2f",
  "rgb": {
    "r": 21,
    "g": 92,
    "b": 47
  },
  "hsl": {
    "h": 141.972,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.10067,
    "h": 151.1
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#155C2F
secondary
#933972
accent
#42AAE6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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