#142A05#142A05

#142A05 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.7% C 0.066 H 135.1°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#142A05
RGBrgb(20, 42, 5)
HSLhsl(96, 79%, 9%)
HSVhsv(96, 88%, 16%)
CMYKcmyk(52.4%, 0%, 88.1%, 83.5%)
CIE-LABlab(14.49, -16.83, 18.78)
CIE-LCHlch(14.49, 25.22, 131.88°)
OKLaboklab(25.72% -0.047 0.0469)
OKLCHoklch(25.72% 0.066 135.1)
XYZxyz(1.1438, 1.8155, 0.4337)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A05 #1B052A
analogous
#272A05 #142A05 #052A09
triadic
#142A05 #05142A #2A0514
tetradic
#142A05 #05272A #1B052A #2A0905
square
#142A05 #05272A #1B052A #2A0905
split-complementary
#142A05 #09052A #2A0527
monochromatic
#0D1B03 #0D1B03 #142A05 #2E610C #489712

Accessibility & contrast

On white

15.40
#142A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#142A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A05
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A05#FFFFFF#000000##FFFFFF
##142A051.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2602
Deuteranopia (green-blind)
#292408
Tritanopia (blue-blind)
#132823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #142a05;
/* rgb */ color: rgb(20, 42, 5);
/* oklch */ color: oklch(25.7% 0.066 135.1);
Tailwind
colors: {
  custom: {
    50: '#536349',
    500: '#142a05',
    950: '#000000',
  },
}
SCSS
$custom: #142a05;
$custom-light: #536349;
$custom-dark: #000000;
JSON
{
  "hex": "#142a05",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 95.676,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25719,
    "c": 0.06642,
    "h": 135.1
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#142A05
secondary
#4D1F6C
accent
#33F5A6
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020501
muted
#787977

Preview Lab

Preview with #142A05

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

Preview Lab → · Contrast checker → · Palette generator →

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