#155E38#155E38

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

Color values

HEX#155E38
RGBrgb(21, 94, 56)
HSLhsl(149, 63%, 23%)
HSVhsv(149, 78%, 37%)
CMYKcmyk(77.7%, 0%, 40.4%, 63.1%)
CIE-LABlab(34.90, -31.75, 15.64)
CIE-LCHlch(34.90, 35.39, 153.78°)
OKLaboklab(42.79% -0.0858 0.0391)
OKLCHoklch(42.79% 0.094 155.5)
XYZxyz(5.0253, 8.4498, 5.1067)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E38 #5E153B
analogous
#175E15 #155E38 #155E5C
triadic
#155E38 #38155E #5E3815
tetradic
#155E38 #15175E #5E153B #5E5C15
square
#155E38 #15175E #5E153B #5E5C15
split-complementary
#155E38 #5C155E #5E1517
monochromatic
#06190F #0A2C1A #155E38 #209056 #2BC274

Accessibility & contrast

On white

7.81
#155E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#155E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155E38
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E38#FFFFFF#000000##FFFFFF
##155E381.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5635
Deuteranopia (green-blind)
#55503B
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155e38;
/* rgb */ color: rgb(21, 94, 56);
/* oklch */ color: oklch(42.8% 0.094 155.5);
Tailwind
colors: {
  custom: {
    50: '#5f8c6f',
    500: '#155e38',
    950: '#000000',
  },
}
SCSS
$custom: #155e38;
$custom-light: #5f8c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#155e38",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 56
  },
  "hsl": {
    "h": 148.767,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.09425,
    "h": 155.5
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#155E38
secondary
#953969
accent
#4197E7
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #155E38

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

Preview Lab → · Contrast checker → · Palette generator →

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