#142A03#142A03

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

Color values

HEX#142A03
RGBrgb(20, 42, 3)
HSLhsl(94, 87%, 9%)
HSVhsv(94, 93%, 16%)
CMYKcmyk(52.4%, 0%, 92.9%, 83.5%)
CIE-LABlab(14.46, -17.09, 19.56)
CIE-LCHlch(14.46, 25.98, 131.15°)
OKLaboklab(25.69% -0.048 0.0493)
OKLCHoklch(25.69% 0.069 134.3)
XYZxyz(1.1329, 1.8112, 0.3760)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A03 #19032A
analogous
#282A03 #142A03 #032A06
triadic
#142A03 #03142A #2A0314
tetradic
#142A03 #03282A #19032A #2A0603
square
#142A03 #03282A #19032A #2A0603
split-complementary
#142A03 #06032A #2A0328
monochromatic
#0E1D02 #0E1D02 #142A03 #2F6307 #4A9C0B

Accessibility & contrast

On white

15.42
#142A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A03
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A03#FFFFFF#000000##FFFFFF
##142A031.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#292406
Tritanopia (blue-blind)
#142822
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #142a03;
/* rgb */ color: rgb(20, 42, 3);
/* oklch */ color: oklch(25.7% 0.069 134.3);
Tailwind
colors: {
  custom: {
    50: '#536448',
    500: '#142a03',
    950: '#000000',
  },
}
SCSS
$custom: #142a03;
$custom-light: #536448;
$custom-dark: #000000;
JSON
{
  "hex": "#142a03",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 3
  },
  "hsl": {
    "h": 93.846,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25691,
    "c": 0.06879,
    "h": 134.3
  },
  "luminance": 0.01811
}

Semantic roles & 50–950 ramp

primary
#142A03
secondary
#4A1B6E
accent
#2BFDA1
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #142A03

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

Preview Lab → · Contrast checker → · Palette generator →

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