#010402#010402

#010402 is a very dark, near-neutral green. Relative luminance 0.001; OKLCH L 9.7% C 0.015 H 156.9°. Best body text is #FFFFFF at 20.60:1 contrast (WCAG AA passes).

Color values

HEX#010402
RGBrgb(1, 4, 2)
HSLhsl(140, 60%, 1%)
HSVhsv(140, 75%, 2%)
CMYKcmyk(75%, 0%, 50%, 98.4%)
CIE-LABlab(0.88, -1.06, 0.48)
CIE-LCHlch(0.88, 1.17, 155.63°)
OKLaboklab(9.74% -0.0141 0.006)
OKLCHoklch(9.74% 0.015 156.9)
XYZxyz(0.0669, 0.0977, 0.0727)
Luminance0.0010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010402 #040103
analogous
#010401 #010402 #010403
triadic
#010402 #020104 #040201
tetradic
#010402 #010104 #040103 #040301
square
#010402 #010104 #040103 #040301
split-complementary
#010402 #030104 #040101
monochromatic
#06180C #06180C #06180C #0D351A #196633

Accessibility & contrast

On white

20.60
#010402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#010402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010402
20.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010402#FFFFFF#000000##FFFFFF
##0104021.0020.601.0220.60
#FFFFFF20.601.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040302
Deuteranopia (green-blind)
#030302
Tritanopia (blue-blind)
#010403
Achromatopsia (no color)
#030303

Design tokens & code

CSS
--color: #010402;
/* rgb */ color: rgb(1, 4, 2);
/* oklch */ color: oklch(9.7% 0.015 156.9);
Tailwind
colors: {
  custom: {
    50: '#474848',
    500: '#010402',
    950: '#000000',
  },
}
SCSS
$custom: #010402;
$custom-light: #474848;
$custom-dark: #000000;
JSON
{
  "hex": "#010402",
  "rgb": {
    "r": 1,
    "g": 4,
    "b": 2
  },
  "hsl": {
    "h": 140,
    "s": 60,
    "l": 0.98
  },
  "oklch": {
    "l": 0.09741,
    "c": 0.01531,
    "h": 156.9
  },
  "luminance": 0.00098
}

Semantic roles & 50–950 ramp

primary
#010402
secondary
#451C37
accent
#45AEE3
background
#F3F4F4
surface
#E5E6E6
border
#C1C2C2
text
#000000
muted
#777777

Preview Lab

Preview with #010402

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

Preview Lab → · Contrast checker → · Palette generator →

#010402 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva