#142D01#142D01

#142D01 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.6% C 0.076 H 134.6°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#142D01
RGBrgb(20, 45, 1)
HSLhsl(94, 96%, 9%)
HSVhsv(94, 98%, 18%)
CMYKcmyk(55.6%, 0%, 97.8%, 82.4%)
CIE-LABlab(15.63, -18.88, 21.87)
CIE-LCHlch(15.63, 28.89, 130.80°)
OKLaboklab(26.64% -0.0531 0.0538)
OKLCHoklch(26.64% 0.076 134.6)
XYZxyz(1.2323, 2.0276, 0.3551)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D01 #1A012D
analogous
#2A2D01 #142D01 #012D04
triadic
#142D01 #01142D #2D0114
tetradic
#142D01 #012A2D #1A012D #2D0401
square
#142D01 #012A2D #1A012D #2D0401
split-complementary
#142D01 #04012D #2D012A
monochromatic
#0D1E01 #0D1E01 #142D01 #2F6902 #49A504

Accessibility & contrast

On white

14.94
#142D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#142D01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D01
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D01#FFFFFF#000000##FFFFFF
##142D011.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2C2604
Tritanopia (blue-blind)
#132B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #142d01;
/* rgb */ color: rgb(20, 45, 1);
/* oklch */ color: oklch(26.6% 0.076 134.6);
Tailwind
colors: {
  custom: {
    50: '#546647',
    500: '#142d01',
    950: '#000000',
  },
}
SCSS
$custom: #142d01;
$custom-light: #546647;
$custom-dark: #000000;
JSON
{
  "hex": "#142d01",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 94.091,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26643,
    "c": 0.07561,
    "h": 134.6
  },
  "luminance": 0.02028
}

Semantic roles & 50–950 ramp

primary
#142D01
secondary
#4B1773
accent
#29FFA3
background
#F4F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #142D01

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

Preview Lab → · Contrast checker → · Palette generator →

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