#155A2B#155A2B

#155A2B is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.102 H 149.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#155A2B
RGBrgb(21, 90, 43)
HSLhsl(139, 62%, 22%)
HSVhsv(139, 77%, 35%)
CMYKcmyk(76.7%, 0%, 52.2%, 64.7%)
CIE-LABlab(33.23, -32.67, 21.12)
CIE-LCHlch(33.23, 38.90, 147.12°)
OKLaboklab(41.34% -0.0879 0.0514)
OKLCHoklch(41.34% 0.102 149.7)
XYZxyz(4.4011, 7.6457, 3.5288)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A2B #5A1544
analogous
#225A15 #155A2B #155A4E
triadic
#155A2B #2B155A #5A2B15
tetradic
#155A2B #15225A #5A1544 #5A4E15
square
#155A2B #15225A #5A1544 #5A4E15
split-complementary
#155A2B #4E155A #5A1522
monochromatic
#06190C #092813 #155A2B #218C43 #2CBD5A

Accessibility & contrast

On white

8.30
#155A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#155A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155A2B
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A2B#FFFFFF#000000##FFFFFF
##155A2B1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5227
Deuteranopia (green-blind)
#524C2E
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #155a2b;
/* rgb */ color: rgb(21, 90, 43);
/* oklch */ color: oklch(41.3% 0.102 149.7);
Tailwind
colors: {
  custom: {
    50: '#5e8965',
    500: '#155a2b',
    950: '#000000',
  },
}
SCSS
$custom: #155a2b;
$custom-light: #5e8965;
$custom-dark: #000000;
JSON
{
  "hex": "#155a2b",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 43
  },
  "hsl": {
    "h": 139.13,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.10186,
    "h": 149.7
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#155A2B
secondary
#923975
accent
#43B1E5
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #155A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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