#142C05#142C05

#142C05 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.4% C 0.070 H 135.7°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#142C05
RGBrgb(20, 44, 5)
HSLhsl(97, 80%, 10%)
HSVhsv(97, 89%, 17%)
CMYKcmyk(54.5%, 0%, 88.6%, 82.7%)
CIE-LABlab(15.28, -17.88, 19.80)
CIE-LCHlch(15.28, 26.67, 132.08°)
OKLaboklab(26.37% -0.0498 0.0486)
OKLCHoklch(26.37% 0.07 135.7)
XYZxyz(1.2165, 1.9610, 0.4580)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C05 #1D052C
analogous
#282C05 #142C05 #052C0A
triadic
#142C05 #05142C #2C0514
tetradic
#142C05 #05282C #1D052C #2C0A05
square
#142C05 #05282C #1D052C #2C0A05
split-complementary
#142C05 #0A052C #2C0528
monochromatic
#0C1B03 #0C1B03 #142C05 #2D630B #469A11

Accessibility & contrast

On white

15.08
#142C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#142C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C05
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C05#FFFFFF#000000##FFFFFF
##142C051.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2801
Deuteranopia (green-blind)
#2B2608
Tritanopia (blue-blind)
#132A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #142c05;
/* rgb */ color: rgb(20, 44, 5);
/* oklch */ color: oklch(26.4% 0.070 135.7);
Tailwind
colors: {
  custom: {
    50: '#546549',
    500: '#142c05',
    950: '#000000',
  },
}
SCSS
$custom: #142c05;
$custom-light: #546549;
$custom-dark: #000000;
JSON
{
  "hex": "#142c05",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 96.923,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2637,
    "c": 0.06958,
    "h": 135.7
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#142C05
secondary
#4F1F6E
accent
#32F6AB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #142C05

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

Preview Lab → · Contrast checker → · Palette generator →

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