#155F2B#155F2B

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

Color values

HEX#155F2B
RGBrgb(21, 95, 43)
HSLhsl(138, 64%, 23%)
HSVhsv(138, 78%, 37%)
CMYKcmyk(77.9%, 0%, 54.7%, 62.7%)
CIE-LABlab(35.04, -34.70, 23.37)
CIE-LCHlch(35.04, 41.84, 146.05°)
OKLaboklab(42.83% -0.0934 0.0565)
OKLCHoklch(42.83% 0.109 148.8)
XYZxyz(4.8371, 8.5177, 3.6742)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F2B #5F1549
analogous
#245F15 #155F2B #155F50
triadic
#155F2B #2B155F #5F2B15
tetradic
#155F2B #15245F #5F1549 #5F5015
square
#155F2B #15245F #5F1549 #5F5015
split-complementary
#155F2B #50155F #5F1524
monochromatic
#06190B #0A2D14 #155F2B #209142 #2BC358

Accessibility & contrast

On white

7.77
#155F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#155F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F2B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F2B#FFFFFF#000000##FFFFFF
##155F2B1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605627
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f2b;
/* rgb */ color: rgb(21, 95, 43);
/* oklch */ color: oklch(42.8% 0.109 148.8);
Tailwind
colors: {
  custom: {
    50: '#5f8d65',
    500: '#155f2b',
    950: '#000000',
  },
}
SCSS
$custom: #155f2b;
$custom-light: #5f8d65;
$custom-dark: #000000;
JSON
{
  "hex": "#155f2b",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 43
  },
  "hsl": {
    "h": 137.838,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.10913,
    "h": 148.8
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#155F2B
secondary
#963A7B
accent
#41B6E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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