#155F29#155F29

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

Color values

HEX#155F29
RGBrgb(21, 95, 41)
HSLhsl(136, 64%, 23%)
HSVhsv(136, 78%, 37%)
CMYKcmyk(77.9%, 0%, 56.8%, 62.7%)
CIE-LABlab(35.01, -35.04, 24.44)
CIE-LCHlch(35.01, 42.72, 145.10°)
OKLaboklab(42.8% -0.0943 0.0588)
OKLCHoklch(42.8% 0.111 148.1)
XYZxyz(4.8013, 8.5034, 3.4857)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F29 #5F154B
analogous
#265F15 #155F29 #155F4E
triadic
#155F29 #29155F #5F2915
tetradic
#155F29 #15265F #5F154B #5F4E15
square
#155F29 #15265F #5F154B #5F4E15
split-complementary
#155F29 #4E155F #5F1526
monochromatic
#06190B #0A2D13 #155F29 #20913F #2BC354

Accessibility & contrast

On white

7.78
#155F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155F29
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F29#FFFFFF#000000##FFFFFF
##155F291.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155f29;
/* rgb */ color: rgb(21, 95, 41);
/* oklch */ color: oklch(42.8% 0.111 148.1);
Tailwind
colors: {
  custom: {
    50: '#5f8d64',
    500: '#155f29',
    950: '#000000',
  },
}
SCSS
$custom: #155f29;
$custom-light: #5f8d64;
$custom-dark: #000000;
JSON
{
  "hex": "#155f29",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 41
  },
  "hsl": {
    "h": 136.216,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42801,
    "c": 0.11111,
    "h": 148.1
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#155F29
secondary
#963A7D
accent
#41BAE7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #155F29

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

Preview Lab → · Contrast checker → · Palette generator →

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