#142A18#142A18

#142A18 is a dark, muted green. Relative luminance 0.019; OKLCH L 26.1% C 0.044 H 148.6°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#142A18
RGBrgb(20, 42, 24)
HSLhsl(131, 35%, 12%)
HSVhsv(131, 52%, 16%)
CMYKcmyk(52.4%, 0%, 42.9%, 83.5%)
CIE-LABlab(14.79, -13.73, 9.11)
CIE-LCHlch(14.79, 16.48, 146.42°)
OKLaboklab(26.07% -0.0374 0.0229)
OKLCHoklch(26.07% 0.044 148.6)
XYZxyz(1.2813, 1.8705, 1.1575)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A18 #2A1426
analogous
#1B2A14 #142A18 #142A23
triadic
#142A18 #18142A #2A1814
tetradic
#142A18 #141B2A #2A1426 #2A2314
square
#142A18 #141B2A #2A1426 #2A2314
split-complementary
#142A18 #23142A #2A141B
monochromatic
#0A150C #0A150C #142A18 #285330 #3B7D47

Accessibility & contrast

On white

15.28
#142A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A18
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A18#FFFFFF#000000##FFFFFF
##142A181.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2717
Deuteranopia (green-blind)
#272419
Tritanopia (blue-blind)
#102925
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #142a18;
/* rgb */ color: rgb(20, 42, 24);
/* oklch */ color: oklch(26.1% 0.044 148.6);
Tailwind
colors: {
  custom: {
    50: '#536354',
    500: '#142a18',
    950: '#000000',
  },
}
SCSS
$custom: #142a18;
$custom-light: #536354;
$custom-dark: #000000;
JSON
{
  "hex": "#142a18",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 130.909,
    "s": 35.484,
    "l": 12.157
  },
  "oklch": {
    "l": 0.26067,
    "c": 0.04383,
    "h": 148.6
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#142A18
secondary
#603A59
accent
#5CB7CC
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020502
muted
#787978

Preview Lab

Preview with #142A18

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

Preview Lab → · Contrast checker → · Palette generator →

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