#142B04#142B04

#142B04 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.0% C 0.069 H 135.0°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#142B04
RGBrgb(20, 43, 4)
HSLhsl(95, 83%, 9%)
HSVhsv(95, 91%, 17%)
CMYKcmyk(53.5%, 0%, 90.7%, 83.1%)
CIE-LABlab(14.87, -17.48, 19.68)
CIE-LCHlch(14.87, 26.33, 131.62°)
OKLaboklab(26.03% -0.0489 0.0489)
OKLCHoklch(26.03% 0.069 135)
XYZxyz(1.1743, 1.8852, 0.4168)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B04 #1B042B
analogous
#282B04 #142B04 #042B08
triadic
#142B04 #04142B #2B0414
tetradic
#142B04 #04282B #1B042B #2B0804
square
#142B04 #04282B #1B042B #2B0804
split-complementary
#142B04 #08042B #2B0428
monochromatic
#0D1C03 #0D1C03 #142B04 #2E6309 #489B0E

Accessibility & contrast

On white

15.25
#142B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#142B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B04
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B04#FFFFFF#000000##FFFFFF
##142B041.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2A2507
Tritanopia (blue-blind)
#132923
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #142b04;
/* rgb */ color: rgb(20, 43, 4);
/* oklch */ color: oklch(26.0% 0.069 135.0);
Tailwind
colors: {
  custom: {
    50: '#536448',
    500: '#142b04',
    950: '#000000',
  },
}
SCSS
$custom: #142b04;
$custom-light: #536448;
$custom-dark: #000000;
JSON
{
  "hex": "#142b04",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 95.385,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26031,
    "c": 0.06915,
    "h": 135
  },
  "luminance": 0.01885
}

Semantic roles & 50–950 ramp

primary
#142B04
secondary
#4D1D6E
accent
#2EF9A6
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #142B04

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

Preview Lab → · Contrast checker → · Palette generator →

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