#155812#155812

#155812 is a dark, vivid green. Relative luminance 0.072; OKLCH L 40.4% C 0.121 H 142.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#155812
RGBrgb(21, 88, 18)
HSLhsl(117, 66%, 21%)
HSVhsv(117, 80%, 35%)
CMYKcmyk(76.1%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.22, -35.26, 32.64)
CIE-LCHlch(32.22, 48.05, 137.21°)
OKLaboklab(40.41% -0.0959 0.0738)
OKLCHoklch(40.41% 0.121 142.4)
XYZxyz(3.9079, 7.1821, 1.7525)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155812 #551258
analogous
#385812 #155812 #125832
triadic
#155812 #121558 #581215
tetradic
#155812 #123858 #551258 #583212
square
#155812 #123858 #551258 #583212
split-complementary
#155812 #321258 #581238
monochromatic
#061905 #092508 #155812 #218B1C #2DBE27

Accessibility & contrast

On white

8.62
#155812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#155812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155812
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155812#FFFFFF#000000##FFFFFF
##1558121.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#524A19
Tritanopia (blue-blind)
#03554A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #155812;
/* rgb */ color: rgb(21, 88, 18);
/* oklch */ color: oklch(40.4% 0.121 142.4);
Tailwind
colors: {
  custom: {
    50: '#5f8855',
    500: '#155812',
    950: '#000000',
  },
}
SCSS
$custom: #155812;
$custom-light: #5f8855;
$custom-dark: #000000;
JSON
{
  "hex": "#155812",
  "rgb": {
    "r": 21,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 117.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40408,
    "c": 0.121,
    "h": 142.4
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#155812
secondary
#8D3591
accent
#3FE9E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #155812

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

Preview Lab → · Contrast checker → · Palette generator →

#155812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva