#142A02#142A02

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

Color values

HEX#142A02
RGBrgb(20, 42, 2)
HSLhsl(93, 91%, 9%)
HSVhsv(93, 95%, 16%)
CMYKcmyk(52.4%, 0%, 95.2%, 83.5%)
CIE-LABlab(14.45, -17.23, 19.95)
CIE-LCHlch(14.45, 26.36, 130.81°)
OKLaboklab(25.68% -0.0485 0.0505)
OKLCHoklch(25.68% 0.07 133.9)
XYZxyz(1.1274, 1.8090, 0.3472)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A02 #18022A
analogous
#282A02 #142A02 #022A04
triadic
#142A02 #02142A #2A0214
tetradic
#142A02 #02282A #18022A #2A0402
square
#142A02 #02282A #18022A #2A0402
split-complementary
#142A02 #04022A #2A0228
monochromatic
#0E1D01 #0E1D01 #142A02 #306405 #4C9F08

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##142A02#FFFFFF#000000##FFFFFF
##142A021.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)
#292405
Tritanopia (blue-blind)
#142822
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #142a02;
/* rgb */ color: rgb(20, 42, 2);
/* oklch */ color: oklch(25.7% 0.070 133.9);
Tailwind
colors: {
  custom: {
    50: '#536447',
    500: '#142a02',
    950: '#000000',
  },
}
SCSS
$custom: #142a02;
$custom-light: #536447;
$custom-dark: #000000;
JSON
{
  "hex": "#142a02",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 93,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25677,
    "c": 0.07,
    "h": 133.9
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#142A02
secondary
#48196F
accent
#29FF9F
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #142A02

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

Preview Lab → · Contrast checker → · Palette generator →

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