#155E2B#155E2B

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

Color values

HEX#155E2B
RGBrgb(21, 94, 43)
HSLhsl(138, 63%, 23%)
HSVhsv(138, 78%, 37%)
CMYKcmyk(77.7%, 0%, 54.3%, 63.1%)
CIE-LABlab(34.68, -34.30, 22.92)
CIE-LCHlch(34.68, 41.26, 146.25°)
OKLaboklab(42.54% -0.0923 0.0555)
OKLCHoklch(42.54% 0.108 149)
XYZxyz(4.7476, 8.3387, 3.6444)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E2B #5E1548
analogous
#245E15 #155E2B #155E4F
triadic
#155E2B #2B155E #5E2B15
tetradic
#155E2B #15245E #5E1548 #5E4F15
square
#155E2B #15245E #5E1548 #5E4F15
split-complementary
#155E2B #4F155E #5E1524
monochromatic
#06190B #0A2C14 #155E2B #209042 #2BC259

Accessibility & contrast

On white

7.87
#155E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155E2B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E2B#FFFFFF#000000##FFFFFF
##155E2B1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5527
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155e2b;
/* rgb */ color: rgb(21, 94, 43);
/* oklch */ color: oklch(42.5% 0.108 149.0);
Tailwind
colors: {
  custom: {
    50: '#5f8c65',
    500: '#155e2b',
    950: '#000000',
  },
}
SCSS
$custom: #155e2b;
$custom-light: #5f8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#155e2b",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 43
  },
  "hsl": {
    "h": 138.082,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42536,
    "c": 0.10769,
    "h": 149
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#155E2B
secondary
#95397A
accent
#41B5E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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