#142A1E#142A1E

#142A1E is a dark, muted green. Relative luminance 0.019; OKLCH L 26.2% C 0.036 H 158.7°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#142A1E
RGBrgb(20, 42, 30)
HSLhsl(147, 35%, 12%)
HSVhsv(147, 52%, 16%)
CMYKcmyk(52.4%, 0%, 28.6%, 83.5%)
CIE-LABlab(14.94, -12.27, 5.16)
CIE-LCHlch(14.94, 13.31, 157.19°)
OKLaboklab(26.24% -0.0339 0.0132)
OKLCHoklch(26.24% 0.036 158.7)
XYZxyz(1.3507, 1.8983, 1.5233)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A1E #2A1420
analogous
#152A14 #142A1E #142A29
triadic
#142A1E #1E142A #2A1E14
tetradic
#142A1E #14152A #2A1420 #2A2914
square
#142A1E #14152A #2A1420 #2A2914
split-complementary
#142A1E #29142A #2A1415
monochromatic
#0A150F #0A150F #142A1E #28533C #3B7D59

Accessibility & contrast

On white

15.22
#142A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#142A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A1E
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A1E#FFFFFF#000000##FFFFFF
##142A1E1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271D
Deuteranopia (green-blind)
#26251F
Tritanopia (blue-blind)
#0F2A27
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #142a1e;
/* rgb */ color: rgb(20, 42, 30);
/* oklch */ color: oklch(26.2% 0.036 158.7);
Tailwind
colors: {
  custom: {
    50: '#536359',
    500: '#142a1e',
    950: '#000000',
  },
}
SCSS
$custom: #142a1e;
$custom-light: #536359;
$custom-dark: #000000;
JSON
{
  "hex": "#142a1e",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 30
  },
  "hsl": {
    "h": 147.273,
    "s": 35.484,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2624,
    "c": 0.03637,
    "h": 158.7
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#142A1E
secondary
#603A4F
accent
#5C99CC
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020503
muted
#787978

Preview Lab

Preview with #142A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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