#142E0C#142E0C

#142E0C is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.1% C 0.066 H 139.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#142E0C
RGBrgb(20, 46, 12)
HSLhsl(106, 59%, 11%)
HSVhsv(106, 74%, 18%)
CMYKcmyk(56.5%, 0%, 73.9%, 82%)
CIE-LABlab(16.15, -18.04, 18.00)
CIE-LCHlch(16.15, 25.48, 135.07°)
OKLaboklab(27.11% -0.0496 0.0431)
OKLCHoklch(27.11% 0.066 139)
XYZxyz(1.3318, 2.1292, 0.6885)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E0C #260C2E
analogous
#252E0C #142E0C #0C2E15
triadic
#142E0C #0C142E #2E0C14
tetradic
#142E0C #0C252E #260C2E #2E150C
square
#142E0C #0C252E #260C2E #2E150C
split-complementary
#142E0C #150C2E #2E0C25
monochromatic
#0B1806 #0B1806 #142E0C #295F19 #3E8F25

Accessibility & contrast

On white

14.73
#142E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#142E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E0C
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E0C#FFFFFF#000000##FFFFFF
##142E0C1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302908
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#122C27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142e0c;
/* rgb */ color: rgb(20, 46, 12);
/* oklch */ color: oklch(27.1% 0.066 139.0);
Tailwind
colors: {
  custom: {
    50: '#54674c',
    500: '#142e0c',
    950: '#000000',
  },
}
SCSS
$custom: #142e0c;
$custom-light: #54674c;
$custom-dark: #000000;
JSON
{
  "hex": "#142e0c",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 12
  },
  "hsl": {
    "h": 105.882,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27109,
    "c": 0.06569,
    "h": 139
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#142E0C
secondary
#5B2C6A
accent
#46E2BD
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #142E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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