#155E2F#155E2F

#155E2F is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.104 H 150.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#155E2F
RGBrgb(21, 94, 47)
HSLhsl(141, 63%, 23%)
HSVhsv(141, 78%, 37%)
CMYKcmyk(77.7%, 0%, 50%, 63.1%)
CIE-LABlab(34.74, -33.58, 20.72)
CIE-LCHlch(34.74, 39.46, 148.32°)
OKLaboklab(42.61% -0.0903 0.0507)
OKLCHoklch(42.61% 0.104 150.7)
XYZxyz(4.8247, 8.3695, 4.0500)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E2F #5E1544
analogous
#1F5E15 #155E2F #155E53
triadic
#155E2F #2F155E #5E2F15
tetradic
#155E2F #151F5E #5E1544 #5E5315
square
#155E2F #151F5E #5E1544 #5E5315
split-complementary
#155E2F #53155E #5E151F
monochromatic
#06190D #0A2C16 #155E2F #209048 #2BC261

Accessibility & contrast

On white

7.85
#155E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#155E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155E2F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E2F#FFFFFF#000000##FFFFFF
##155E2F1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552B
Deuteranopia (green-blind)
#564F32
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155e2f;
/* rgb */ color: rgb(21, 94, 47);
/* oklch */ color: oklch(42.6% 0.104 150.7);
Tailwind
colors: {
  custom: {
    50: '#5f8c68',
    500: '#155e2f',
    950: '#000000',
  },
}
SCSS
$custom: #155e2f;
$custom-light: #5f8c68;
$custom-dark: #000000;
JSON
{
  "hex": "#155e2f",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 47
  },
  "hsl": {
    "h": 141.37,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42608,
    "c": 0.10361,
    "h": 150.7
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#155E2F
secondary
#953975
accent
#41ACE7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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