#155F17#155F17

#155F17 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.127 H 143.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#155F17
RGBrgb(21, 95, 23)
HSLhsl(122, 64%, 23%)
HSVhsv(122, 78%, 37%)
CMYKcmyk(77.9%, 0%, 75.8%, 62.7%)
CIE-LABlab(34.81, -37.39, 33.20)
CIE-LCHlch(34.81, 50.00, 138.40°)
OKLaboklab(42.57% -0.1014 0.0757)
OKLCHoklch(42.57% 0.127 143.3)
XYZxyz(4.5558, 8.4052, 2.1927)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F17 #5F155D
analogous
#385F15 #155F17 #155F3C
triadic
#155F17 #17155F #5F1715
tetradic
#155F17 #15385F #5F155D #5F3C15
square
#155F17 #15385F #5F155D #5F3C15
split-complementary
#155F17 #3C155F #5F1538
monochromatic
#061906 #0A2D0B #155F17 #209123 #2BC32F

Accessibility & contrast

On white

7.83
#155F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#155F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F17
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F17#FFFFFF#000000##FFFFFF
##155F171.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550B
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f17;
/* rgb */ color: rgb(21, 95, 23);
/* oklch */ color: oklch(42.6% 0.127 143.3);
Tailwind
colors: {
  custom: {
    50: '#608d59',
    500: '#155f17',
    950: '#000000',
  },
}
SCSS
$custom: #155f17;
$custom-light: #608d59;
$custom-dark: #000000;
JSON
{
  "hex": "#155f17",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 121.622,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42574,
    "c": 0.12654,
    "h": 143.3
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#155F17
secondary
#963A94
accent
#41E2E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155F17

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

Preview Lab → · Contrast checker → · Palette generator →

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