#155A12#155A12

#155A12 is a dark, vivid green. Relative luminance 0.075; OKLCH L 41.0% C 0.124 H 142.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#155A12
RGBrgb(21, 90, 18)
HSLhsl(118, 67%, 21%)
HSVhsv(118, 80%, 35%)
CMYKcmyk(76.7%, 0%, 80%, 64.7%)
CIE-LABlab(32.95, -36.01, 33.38)
CIE-LCHlch(32.95, 49.10, 137.17°)
OKLaboklab(41.02% -0.0979 0.0753)
OKLCHoklch(41.02% 0.124 142.4)
XYZxyz(4.0744, 7.5150, 1.8080)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A12 #57125A
analogous
#395A12 #155A12 #125A33
triadic
#155A12 #12155A #5A1215
tetradic
#155A12 #12395A #57125A #5A3312
square
#155A12 #12395A #57125A #5A3312
split-complementary
#155A12 #33125A #5A1239
monochromatic
#061A05 #092708 #155A12 #218D1C #2DC026

Accessibility & contrast

On white

8.39
#155A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#155A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155A12
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A12#FFFFFF#000000##FFFFFF
##155A121.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#02574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #155a12;
/* rgb */ color: rgb(21, 90, 18);
/* oklch */ color: oklch(41.0% 0.124 142.4);
Tailwind
colors: {
  custom: {
    50: '#5f8955',
    500: '#155a12',
    950: '#000000',
  },
}
SCSS
$custom: #155a12;
$custom-light: #5f8955;
$custom-dark: #000000;
JSON
{
  "hex": "#155a12",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 117.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41017,
    "c": 0.12354,
    "h": 142.4
  },
  "luminance": 0.07515
}

Semantic roles & 50–950 ramp

primary
#155A12
secondary
#8F3593
accent
#3EEAE2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #155A12

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

Preview Lab → · Contrast checker → · Palette generator →

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