#011F04#011F04

#011F04 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 20.9% C 0.063 H 145.2°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#011F04
RGBrgb(1, 31, 4)
HSLhsl(126, 94%, 6%)
HSVhsv(126, 97%, 12%)
CMYKcmyk(96.8%, 0%, 87.1%, 87.8%)
CIE-LABlab(8.95, -17.10, 11.44)
CIE-LCHlch(8.95, 20.57, 146.22°)
OKLaboklab(20.88% -0.0517 0.036)
OKLCHoklch(20.88% 0.063 145.2)
XYZxyz(0.5244, 0.9951, 0.2793)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#011F04 #1F011C
analogous
#0D1F01 #011F04 #011F13
triadic
#011F04 #04011F #1F0401
tetradic
#011F04 #010D1F #1F011C #1F1301
square
#011F04 #010D1F #1F011C #1F1301
split-complementary
#011F04 #13011F #1F010D
monochromatic
#011E04 #011E04 #011F04 #035A0C #059613

Accessibility & contrast

On white

17.51
#011F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #011F04
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##011F04#FFFFFF#000000##FFFFFF
##011F041.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.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: #011f04;
/* rgb */ color: rgb(1, 31, 4);
/* oklch */ color: oklch(20.9% 0.063 145.2);
Tailwind
colors: {
  custom: {
    50: '#465a48',
    500: '#011f04',
    950: '#000000',
  },
}
SCSS
$custom: #011f04;
$custom-light: #465a48;
$custom-dark: #000000;
JSON
{
  "hex": "#011f04",
  "rgb": {
    "r": 1,
    "g": 31,
    "b": 4
  },
  "hsl": {
    "h": 126,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20879,
    "c": 0.06302,
    "h": 145.2
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#011F04
secondary
#67155E
accent
#29EAFF
background
#F3F5F4
surface
#E5E9E6
border
#C1C5C2
text
#000400
muted
#767977

Preview Lab

Preview with #011F04

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

Preview Lab → · Contrast checker → · Palette generator →

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