#142F04#142F04

#142F04 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.3% C 0.075 H 136.2°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#142F04
RGBrgb(20, 47, 4)
HSLhsl(98, 84%, 10%)
HSVhsv(98, 91%, 18%)
CMYKcmyk(57.4%, 0%, 91.5%, 81.6%)
CIE-LABlab(16.46, -19.50, 21.68)
CIE-LCHlch(16.46, 29.16, 131.97°)
OKLaboklab(27.33% -0.0543 0.052)
OKLCHoklch(27.33% 0.075 136.2)
XYZxyz(1.3269, 2.1904, 0.4677)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F04 #1F042F
analogous
#2A2F04 #142F04 #042F09
triadic
#142F04 #04142F #2F0414
tetradic
#142F04 #042A2F #1F042F #2F0904
square
#142F04 #042A2F #1F042F #2F0904
split-complementary
#142F04 #09042F #2F042A
monochromatic
#0C1C02 #0C1C02 #142F04 #2C6709 #44A00E

Accessibility & contrast

On white

14.60
#142F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142F04
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F04#FFFFFF#000000##FFFFFF
##142F041.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2D2808
Tritanopia (blue-blind)
#132D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142f04;
/* rgb */ color: rgb(20, 47, 4);
/* oklch */ color: oklch(27.3% 0.075 136.2);
Tailwind
colors: {
  custom: {
    50: '#546849',
    500: '#142f04',
    950: '#000000',
  },
}
SCSS
$custom: #142f04;
$custom-light: #546849;
$custom-dark: #000000;
JSON
{
  "hex": "#142f04",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 97.674,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27331,
    "c": 0.07524,
    "h": 136.2
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#142F04
secondary
#521D72
accent
#2DFBAE
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030601
muted
#787A77

Preview Lab

Preview with #142F04

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

Preview Lab → · Contrast checker → · Palette generator →

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