#142A01#142A01

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

Color values

HEX#142A01
RGBrgb(20, 42, 1)
HSLhsl(92, 95%, 8%)
HSVhsv(92, 98%, 16%)
CMYKcmyk(52.4%, 0%, 97.6%, 83.5%)
CIE-LABlab(14.44, -17.36, 20.34)
CIE-LCHlch(14.44, 26.74, 130.48°)
OKLaboklab(25.66% -0.0491 0.0517)
OKLCHoklch(25.66% 0.071 133.5)
XYZxyz(1.1219, 1.8068, 0.3183)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A01 #17012A
analogous
#282A01 #142A01 #012A02
triadic
#142A01 #01142A #2A0114
tetradic
#142A01 #01282A #17012A #2A0201
square
#142A01 #01282A #17012A #2A0201
split-complementary
#142A01 #02012A #2A0128
monochromatic
#0E1E01 #0E1E01 #142A01 #306602 #4DA204

Accessibility & contrast

On white

15.43
#142A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A01
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A01#FFFFFF#000000##FFFFFF
##142A011.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142a01;
/* rgb */ color: rgb(20, 42, 1);
/* oklch */ color: oklch(25.7% 0.071 133.5);
Tailwind
colors: {
  custom: {
    50: '#536447',
    500: '#142a01',
    950: '#000000',
  },
}
SCSS
$custom: #142a01;
$custom-light: #536447;
$custom-dark: #000000;
JSON
{
  "hex": "#142a01",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 92.195,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25663,
    "c": 0.07126,
    "h": 133.5
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#142A01
secondary
#471670
accent
#29FF9C
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #142A01

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

Preview Lab → · Contrast checker → · Palette generator →

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