#142A12#142A12

#142A12 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.9% C 0.052 H 142.2°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#142A12
RGBrgb(20, 42, 18)
HSLhsl(115, 40%, 12%)
HSVhsv(115, 57%, 16%)
CMYKcmyk(52.4%, 0%, 57.1%, 83.5%)
CIE-LABlab(14.67, -14.95, 12.93)
CIE-LCHlch(14.67, 19.76, 139.14°)
OKLaboklab(25.93% -0.0408 0.0316)
OKLCHoklch(25.93% 0.052 142.2)
XYZxyz(1.2256, 1.8482, 0.8643)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A12 #28122A
analogous
#202A12 #142A12 #122A1C
triadic
#142A12 #12142A #2A1214
tetradic
#142A12 #12202A #28122A #2A1C12
square
#142A12 #12202A #28122A #2A1C12
split-complementary
#142A12 #1C122A #2A1220
monochromatic
#0A1509 #0A1509 #142A12 #285524 #3D8037

Accessibility & contrast

On white

15.33
#142A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#142A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A12
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A12#FFFFFF#000000##FFFFFF
##142A121.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2610
Deuteranopia (green-blind)
#282414
Tritanopia (blue-blind)
#122924
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #142a12;
/* rgb */ color: rgb(20, 42, 18);
/* oklch */ color: oklch(25.9% 0.052 142.2);
Tailwind
colors: {
  custom: {
    50: '#536350',
    500: '#142a12',
    950: '#000000',
  },
}
SCSS
$custom: #142a12;
$custom-light: #536350;
$custom-dark: #000000;
JSON
{
  "hex": "#142a12",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 115,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.25927,
    "c": 0.0516,
    "h": 142.2
  },
  "luminance": 0.01848
}

Semantic roles & 50–950 ramp

primary
#142A12
secondary
#5E3761
accent
#58D0C6
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020502
muted
#787978

Preview Lab

Preview with #142A12

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

Preview Lab → · Contrast checker → · Palette generator →

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