#142F1C#142F1C

#142F1C is a dark, muted green. Relative luminance 0.023; OKLCH L 27.8% C 0.048 H 151.7°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#142F1C
RGBrgb(20, 47, 28)
HSLhsl(138, 40%, 13%)
HSVhsv(138, 57%, 18%)
CMYKcmyk(57.4%, 0%, 40.4%, 81.6%)
CIE-LABlab(16.82, -15.66, 9.12)
CIE-LCHlch(16.82, 18.12, 149.78°)
OKLaboklab(27.75% -0.0426 0.023)
OKLCHoklch(27.75% 0.048 151.7)
XYZxyz(1.5145, 2.2655, 1.4559)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F1C #2F1427
analogous
#192F14 #142F1C #142F29
triadic
#142F1C #1C142F #2F1C14
tetradic
#142F1C #14192F #2F1427 #2F2914
square
#142F1C #14192F #2F1427 #2F2914
split-complementary
#142F1C #29142F #2F1419
monochromatic
#09150D #09150D #142F1C #265A36 #39854F

Accessibility & contrast

On white

14.45
#142F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#142F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F1C
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F1C#FFFFFF#000000##FFFFFF
##142F1C1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1B
Deuteranopia (green-blind)
#2B281D
Tritanopia (blue-blind)
#0E2E2A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142f1c;
/* rgb */ color: rgb(20, 47, 28);
/* oklch */ color: oklch(27.8% 0.048 151.7);
Tailwind
colors: {
  custom: {
    50: '#536758',
    500: '#142f1c',
    950: '#000000',
  },
}
SCSS
$custom: #142f1c;
$custom-light: #536758;
$custom-dark: #000000;
JSON
{
  "hex": "#142f1c",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 28
  },
  "hsl": {
    "h": 137.778,
    "s": 40.299,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2775,
    "c": 0.04842,
    "h": 151.7
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#142F1C
secondary
#663959
accent
#58ACD0
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #142F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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