#155E17#155E17

#155E17 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.3% C 0.125 H 143.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#155E17
RGBrgb(21, 94, 23)
HSLhsl(122, 63%, 23%)
HSVhsv(122, 78%, 37%)
CMYKcmyk(77.7%, 0%, 75.5%, 63.1%)
CIE-LABlab(34.45, -37.03, 32.82)
CIE-LCHlch(34.45, 49.48, 138.45°)
OKLaboklab(42.27% -0.1004 0.0749)
OKLCHoklch(42.27% 0.125 143.3)
XYZxyz(4.4663, 8.2262, 2.1629)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E17 #5E155C
analogous
#375E15 #155E17 #155E3C
triadic
#155E17 #17155E #5E1715
tetradic
#155E17 #15375E #5E155C #5E3C15
square
#155E17 #15375E #5E155C #5E3C15
split-complementary
#155E17 #3C155E #5E1537
monochromatic
#061906 #0A2C0B #155E17 #209023 #2BC22F

Accessibility & contrast

On white

7.94
#155E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#155E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155E17
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E17#FFFFFF#000000##FFFFFF
##155E171.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540C
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155e17;
/* rgb */ color: rgb(21, 94, 23);
/* oklch */ color: oklch(42.3% 0.125 143.3);
Tailwind
colors: {
  custom: {
    50: '#608c59',
    500: '#155e17',
    950: '#000000',
  },
}
SCSS
$custom: #155e17;
$custom-light: #608c59;
$custom-dark: #000000;
JSON
{
  "hex": "#155e17",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 121.644,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42273,
    "c": 0.12526,
    "h": 143.3
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#155E17
secondary
#953993
accent
#41E2E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155E17

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

Preview Lab → · Contrast checker → · Palette generator →

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