#155E18#155E18

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

Color values

HEX#155E18
RGBrgb(21, 94, 24)
HSLhsl(122, 63%, 23%)
HSVhsv(122, 78%, 37%)
CMYKcmyk(77.7%, 0%, 74.5%, 63.1%)
CIE-LABlab(34.46, -36.92, 32.39)
CIE-LCHlch(34.46, 49.11, 138.75°)
OKLaboklab(42.28% -0.1001 0.0741)
OKLCHoklch(42.28% 0.125 143.5)
XYZxyz(4.4766, 8.2303, 2.2167)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E18 #5E155B
analogous
#365E15 #155E18 #155E3D
triadic
#155E18 #18155E #5E1815
tetradic
#155E18 #15365E #5E155B #5E3D15
square
#155E18 #15365E #5E155B #5E3D15
split-complementary
#155E18 #3D155E #5E1536
monochromatic
#061906 #0A2C0B #155E18 #209025 #2BC232

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155E18#FFFFFF#000000##FFFFFF
##155E181.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)
#60550D
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155e18;
/* rgb */ color: rgb(21, 94, 24);
/* oklch */ color: oklch(42.3% 0.125 143.5);
Tailwind
colors: {
  custom: {
    50: '#608c59',
    500: '#155e18',
    950: '#000000',
  },
}
SCSS
$custom: #155e18;
$custom-light: #608c59;
$custom-dark: #000000;
JSON
{
  "hex": "#155e18",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 122.466,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42282,
    "c": 0.12454,
    "h": 143.5
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#155E18
secondary
#953992
accent
#41E0E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155E18

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

Preview Lab → · Contrast checker → · Palette generator →

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