#155F2E#155F2E

#155F2E is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.106 H 150.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#155F2E
RGBrgb(21, 95, 46)
HSLhsl(140, 64%, 23%)
HSVhsv(140, 78%, 37%)
CMYKcmyk(77.9%, 0%, 51.6%, 62.7%)
CIE-LABlab(35.08, -34.17, 21.73)
CIE-LCHlch(35.08, 40.50, 147.55°)
OKLaboklab(42.89% -0.0919 0.053)
OKLCHoklch(42.89% 0.106 150)
XYZxyz(4.8942, 8.5405, 3.9748)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F2E #5F1546
analogous
#215F15 #155F2E #155F53
triadic
#155F2E #2E155F #5F2E15
tetradic
#155F2E #15215F #5F1546 #5F5315
square
#155F2E #15215F #5F1546 #5F5315
split-complementary
#155F2E #53155F #5F1521
monochromatic
#06190C #0A2D16 #155F2E #209146 #2BC35F

Accessibility & contrast

On white

7.75
#155F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#155F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F2E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F2E#FFFFFF#000000##FFFFFF
##155F2E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60562A
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f2e;
/* rgb */ color: rgb(21, 95, 46);
/* oklch */ color: oklch(42.9% 0.106 150.0);
Tailwind
colors: {
  custom: {
    50: '#5f8d67',
    500: '#155f2e',
    950: '#000000',
  },
}
SCSS
$custom: #155f2e;
$custom-light: #5f8d67;
$custom-dark: #000000;
JSON
{
  "hex": "#155f2e",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 46
  },
  "hsl": {
    "h": 140.27,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.1061,
    "h": 150
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#155F2E
secondary
#963A77
accent
#41AFE7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #155F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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