#012004#012004

#012004 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 21.2% C 0.065 H 145.0°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#012004
RGBrgb(1, 32, 4)
HSLhsl(126, 94%, 6%)
HSVhsv(126, 97%, 13%)
CMYKcmyk(96.9%, 0%, 87.5%, 87.5%)
CIE-LABlab(9.39, -17.89, 12.06)
CIE-LCHlch(9.39, 21.58, 146.01°)
OKLaboklab(21.24% -0.0528 0.037)
OKLCHoklch(21.24% 0.065 145)
XYZxyz(0.5509, 1.0482, 0.2881)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012004 #20011D
analogous
#0E2001 #012004 #012014
triadic
#012004 #040120 #200401
tetradic
#012004 #010E20 #20011D #201401
square
#012004 #010E20 #20011D #201401
split-complementary
#012004 #140120 #20010E
monochromatic
#011E04 #011E04 #012004 #035B0B #059713

Accessibility & contrast

On white

17.36
#012004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#012004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012004
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012004#FFFFFF#000000##FFFFFF
##0120041.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C02
Deuteranopia (green-blind)
#1D1906
Tritanopia (blue-blind)
#001F1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #012004;
/* rgb */ color: rgb(1, 32, 4);
/* oklch */ color: oklch(21.2% 0.065 145.0);
Tailwind
colors: {
  custom: {
    50: '#465b48',
    500: '#012004',
    950: '#000000',
  },
}
SCSS
$custom: #012004;
$custom-light: #465b48;
$custom-dark: #000000;
JSON
{
  "hex": "#012004",
  "rgb": {
    "r": 1,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 125.806,
    "s": 93.939,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21242,
    "c": 0.0645,
    "h": 145
  },
  "luminance": 0.01048
}

Semantic roles & 50–950 ramp

primary
#012004
secondary
#67155F
accent
#29EAFF
background
#F3F5F4
surface
#E5E9E6
border
#C1C5C2
text
#000400
muted
#767977

Preview Lab

Preview with #012004

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

Preview Lab → · Contrast checker → · Palette generator →

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