#142F0C#142F0C

#142F0C is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.4% C 0.067 H 139.2°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#142F0C
RGBrgb(20, 47, 12)
HSLhsl(106, 59%, 12%)
HSVhsv(106, 74%, 18%)
CMYKcmyk(57.4%, 0%, 74.5%, 81.6%)
CIE-LABlab(16.54, -18.55, 18.49)
CIE-LCHlch(16.54, 26.19, 135.10°)
OKLaboklab(27.43% -0.051 0.044)
OKLCHoklch(27.43% 0.067 139.2)
XYZxyz(1.3713, 2.2082, 0.7017)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F0C #270C2F
analogous
#262F0C #142F0C #0C2F16
triadic
#142F0C #0C142F #2F0C14
tetradic
#142F0C #0C262F #270C2F #2F160C
square
#142F0C #0C262F #270C2F #2F160C
split-complementary
#142F0C #160C2F #2F0C26
monochromatic
#0A1806 #0A1806 #142F0C #296018 #3D9125

Accessibility & contrast

On white

14.57
#142F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#142F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F0C
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F0C#FFFFFF#000000##FFFFFF
##142F0C1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A08
Deuteranopia (green-blind)
#2D280F
Tritanopia (blue-blind)
#122D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142f0c;
/* rgb */ color: rgb(20, 47, 12);
/* oklch */ color: oklch(27.4% 0.067 139.2);
Tailwind
colors: {
  custom: {
    50: '#54684c',
    500: '#142f0c',
    950: '#000000',
  },
}
SCSS
$custom: #142f0c;
$custom-light: #54684c;
$custom-dark: #000000;
JSON
{
  "hex": "#142f0c",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 106.286,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27431,
    "c": 0.06736,
    "h": 139.2
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#142F0C
secondary
#5C2C6B
accent
#45E3BF
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #142F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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