#001F02#001F02

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

Color values

HEX#001F02
RGBrgb(0, 31, 2)
HSLhsl(124, 100%, 6%)
HSVhsv(124, 100%, 12%)
CMYKcmyk(100%, 0%, 93.5%, 87.8%)
CIE-LABlab(8.86, -17.67, 12.11)
CIE-LCHlch(8.86, 21.42, 145.57°)
OKLaboklab(20.78% -0.0543 0.0393)
OKLCHoklch(20.78% 0.067 144.1)
XYZxyz(0.5009, 0.9843, 0.2210)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#001F02 #1F001D
analogous
#0D1F00 #001F02 #001F11
triadic
#001F02 #02001F #1F0200
tetradic
#001F02 #000D1F #1F001D #1F1100
square
#001F02 #000D1F #1F001D #1F1100
split-complementary
#001F02 #11001F #1F000D
monochromatic
#001F02 #001F02 #001F02 #005C06 #00990A

Accessibility & contrast

On white

17.55
#001F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #001F02
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##001F02#FFFFFF#000000##FFFFFF
##001F021.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #001f02;
/* rgb */ color: rgb(0, 31, 2);
/* oklch */ color: oklch(20.8% 0.067 144.1);
Tailwind
colors: {
  custom: {
    50: '#455a47',
    500: '#001f02',
    950: '#000000',
  },
}
SCSS
$custom: #001f02;
$custom-light: #455a47;
$custom-dark: #000000;
JSON
{
  "hex": "#001f02",
  "rgb": {
    "r": 0,
    "g": 31,
    "b": 2
  },
  "hsl": {
    "h": 123.871,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.20776,
    "c": 0.06706,
    "h": 144.1
  },
  "luminance": 0.00984
}

Semantic roles & 50–950 ramp

primary
#001F02
secondary
#681263
accent
#29F1FF
background
#F3F5F4
surface
#E5E9E6
border
#C1C5C2
text
#000400
muted
#767977

Preview Lab

Preview with #001F02

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

Preview Lab → · Contrast checker → · Palette generator →

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