#142A07#142A07

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

Color values

HEX#142A07
RGBrgb(20, 42, 7)
HSLhsl(98, 71%, 10%)
HSVhsv(98, 83%, 16%)
CMYKcmyk(52.4%, 0%, 83.3%, 83.5%)
CIE-LABlab(14.51, -16.57, 17.99)
CIE-LCHlch(14.51, 24.46, 132.65°)
OKLaboklab(25.75% -0.0461 0.0447)
OKLCHoklch(25.75% 0.064 135.9)
XYZxyz(1.1548, 1.8199, 0.4914)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A07 #1D072A
analogous
#262A07 #142A07 #072A0B
triadic
#142A07 #07142A #2A0714
tetradic
#142A07 #07262A #1D072A #2A0B07
square
#142A07 #07262A #1D072A #2A0B07
split-complementary
#142A07 #0B072A #2A0726
monochromatic
#0C1A04 #0C1A04 #142A07 #2D5E10 #469318

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##142A07#FFFFFF#000000##FFFFFF
##142A071.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)
#2C2604
Deuteranopia (green-blind)
#29240A
Tritanopia (blue-blind)
#132823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #142a07;
/* rgb */ color: rgb(20, 42, 7);
/* oklch */ color: oklch(25.7% 0.064 135.9);
Tailwind
colors: {
  custom: {
    50: '#53634a',
    500: '#142a07',
    950: '#000000',
  },
}
SCSS
$custom: #142a07;
$custom-light: #53634a;
$custom-dark: #000000;
JSON
{
  "hex": "#142a07",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 97.714,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25747,
    "c": 0.06416,
    "h": 135.9
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#142A07
secondary
#4F236A
accent
#3AEEAB
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020501
muted
#787977

Preview Lab

Preview with #142A07

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

Preview Lab → · Contrast checker → · Palette generator →

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