#155E2C#155E2C

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

Color values

HEX#155E2C
RGBrgb(21, 94, 44)
HSLhsl(139, 63%, 23%)
HSVhsv(139, 78%, 37%)
CMYKcmyk(77.7%, 0%, 53.2%, 63.1%)
CIE-LABlab(34.69, -34.13, 22.38)
CIE-LCHlch(34.69, 40.81, 146.75°)
OKLaboklab(42.55% -0.0918 0.0543)
OKLCHoklch(42.55% 0.107 149.4)
XYZxyz(4.7662, 8.3461, 3.7422)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E2C #5E1547
analogous
#235E15 #155E2C #155E50
triadic
#155E2C #2C155E #5E2C15
tetradic
#155E2C #15235E #5E1547 #5E5015
square
#155E2C #15235E #5E1547 #5E5015
split-complementary
#155E2C #50155E #5E1523
monochromatic
#06190C #0A2C15 #155E2C #209043 #2BC25B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155E2C#FFFFFF#000000##FFFFFF
##155E2C1.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)
#5F5528
Deuteranopia (green-blind)
#564F30
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155e2c;
/* rgb */ color: rgb(21, 94, 44);
/* oklch */ color: oklch(42.6% 0.107 149.4);
Tailwind
colors: {
  custom: {
    50: '#5f8c66',
    500: '#155e2c',
    950: '#000000',
  },
}
SCSS
$custom: #155e2c;
$custom-light: #5f8c66;
$custom-dark: #000000;
JSON
{
  "hex": "#155e2c",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 44
  },
  "hsl": {
    "h": 138.904,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42554,
    "c": 0.10668,
    "h": 149.4
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#155E2C
secondary
#953978
accent
#41B2E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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