#001F04#001F04

#001F04 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 20.8% C 0.064 H 145.9°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#001F04
RGBrgb(0, 31, 4)
HSLhsl(128, 100%, 6%)
HSVhsv(128, 100%, 12%)
CMYKcmyk(100%, 0%, 87.1%, 87.8%)
CIE-LABlab(8.90, -17.38, 11.35)
CIE-LCHlch(8.90, 20.76, 146.85°)
OKLaboklab(20.82% -0.0529 0.0359)
OKLCHoklch(20.82% 0.064 145.9)
XYZxyz(0.5119, 0.9887, 0.2787)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#001F04 #1F001B
analogous
#0B1F00 #001F04 #001F13
triadic
#001F04 #04001F #1F0400
tetradic
#001F04 #000B1F #1F001B #1F1300
square
#001F04 #000B1F #1F001B #1F1300
split-complementary
#001F04 #13001F #1F000B
monochromatic
#001F04 #001F04 #001F04 #005C0C #009914

Accessibility & contrast

On white

17.53
#001F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#001F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #001F04
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##001F04#FFFFFF#000000##FFFFFF
##001F041.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B02
Deuteranopia (green-blind)
#1C1806
Tritanopia (blue-blind)
#001E19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #001f04;
/* rgb */ color: rgb(0, 31, 4);
/* oklch */ color: oklch(20.8% 0.064 145.9);
Tailwind
colors: {
  custom: {
    50: '#455a48',
    500: '#001f04',
    950: '#000000',
  },
}
SCSS
$custom: #001f04;
$custom-light: #455a48;
$custom-dark: #000000;
JSON
{
  "hex": "#001f04",
  "rgb": {
    "r": 0,
    "g": 31,
    "b": 4
  },
  "hsl": {
    "h": 127.742,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.20818,
    "c": 0.06387,
    "h": 145.9
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#001F04
secondary
#68125D
accent
#29E3FF
background
#F3F5F4
surface
#E5E9E6
border
#C1C5C2
text
#000400
muted
#767977

Preview Lab

Preview with #001F04

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

Preview Lab → · Contrast checker → · Palette generator →

#001F04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva