#135212#135212

#135212 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.114 H 142.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#135212
RGBrgb(19, 82, 18)
HSLhsl(119, 64%, 20%)
HSVhsv(119, 78%, 32%)
CMYKcmyk(76.8%, 0%, 78%, 67.8%)
CIE-LABlab(29.95, -33.41, 30.31)
CIE-LCHlch(29.95, 45.11, 137.78°)
OKLaboklab(38.51% -0.0907 0.0689)
OKLCHoklch(38.51% 0.114 142.8)
XYZxyz(3.3948, 6.2163, 1.5931)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#135212 #511252
analogous
#335212 #135212 #125231
triadic
#135212 #121352 #521213
tetradic
#135212 #123352 #511252 #523112
square
#135212 #123352 #511252 #523112
split-complementary
#135212 #311252 #521233
monochromatic
#061906 #072007 #135212 #1F841D #2AB628

Accessibility & contrast

On white

9.36
#135212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#135212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #135212
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##135212#FFFFFF#000000##FFFFFF
##1352121.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A08
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#024F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #135212;
/* rgb */ color: rgb(19, 82, 18);
/* oklch */ color: oklch(38.5% 0.114 142.8);
Tailwind
colors: {
  custom: {
    50: '#5c8354',
    500: '#135212',
    950: '#000000',
  },
}
SCSS
$custom: #135212;
$custom-light: #5c8354;
$custom-dark: #000000;
JSON
{
  "hex": "#135212",
  "rgb": {
    "r": 19,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 119.063,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38514,
    "c": 0.11397,
    "h": 142.8
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#135212
secondary
#8A358B
accent
#41E7E4
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #135212

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

Preview Lab → · Contrast checker → · Palette generator →

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