#155F35#155F35

#155F35 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.099 H 153.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#155F35
RGBrgb(21, 95, 53)
HSLhsl(146, 64%, 23%)
HSVhsv(146, 78%, 37%)
CMYKcmyk(77.9%, 0%, 44.2%, 62.7%)
CIE-LABlab(35.20, -32.81, 17.82)
CIE-LCHlch(35.20, 37.34, 151.50°)
OKLaboklab(43.02% -0.0884 0.0442)
OKLCHoklch(43.02% 0.099 153.4)
XYZxyz(5.0436, 8.6003, 4.7617)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F35 #5F153F
analogous
#1A5F15 #155F35 #155F5A
triadic
#155F35 #35155F #5F3515
tetradic
#155F35 #151A5F #5F153F #5F5A15
square
#155F35 #151A5F #5F153F #5F5A15
split-complementary
#155F35 #5A155F #5F151A
monochromatic
#06190E #0A2D19 #155F35 #209151 #2BC36D

Accessibility & contrast

On white

7.72
#155F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#155F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F35
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F35#FFFFFF#000000##FFFFFF
##155F351.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5732
Deuteranopia (green-blind)
#565038
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #155f35;
/* rgb */ color: rgb(21, 95, 53);
/* oklch */ color: oklch(43.0% 0.099 153.4);
Tailwind
colors: {
  custom: {
    50: '#5f8d6c',
    500: '#155f35',
    950: '#000000',
  },
}
SCSS
$custom: #155f35;
$custom-light: #5f8d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#155f35",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 53
  },
  "hsl": {
    "h": 145.946,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43024,
    "c": 0.09886,
    "h": 153.4
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#155F35
secondary
#963A6E
accent
#419FE7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #155F35

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

Preview Lab → · Contrast checker → · Palette generator →

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