#135812#135812

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

Color values

HEX#135812
RGBrgb(19, 88, 18)
HSLhsl(119, 66%, 21%)
HSVhsv(119, 80%, 35%)
CMYKcmyk(78.4%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.17, -35.66, 32.57)
CIE-LCHlch(32.17, 48.30, 137.59°)
OKLaboklab(40.36% -0.0969 0.0737)
OKLCHoklch(40.36% 0.122 142.7)
XYZxyz(3.8672, 7.1611, 1.7506)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#135812 #571258
analogous
#365812 #135812 #125834
triadic
#135812 #121358 #581213
tetradic
#135812 #123658 #571258 #583412
square
#135812 #123658 #571258 #583412
split-complementary
#135812 #341258 #581236
monochromatic
#051905 #082508 #135812 #1E8B1C #29BE27

Accessibility & contrast

On white

8.63
#135812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#135812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #135812
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##135812#FFFFFF#000000##FFFFFF
##1358121.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #135812;
/* rgb */ color: rgb(19, 88, 18);
/* oklch */ color: oklch(40.4% 0.122 142.7);
Tailwind
colors: {
  custom: {
    50: '#5e8855',
    500: '#135812',
    950: '#000000',
  },
}
SCSS
$custom: #135812;
$custom-light: #5e8855;
$custom-dark: #000000;
JSON
{
  "hex": "#135812",
  "rgb": {
    "r": 19,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 119.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.12169,
    "h": 142.7
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#135812
secondary
#8F3591
accent
#3FE9E7
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #135812

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

Preview Lab → · Contrast checker → · Palette generator →

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