#021F01#021F01

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

Color values

HEX#021F01
RGBrgb(2, 31, 1)
HSLhsl(118, 94%, 6%)
HSVhsv(118, 97%, 12%)
CMYKcmyk(93.5%, 0%, 96.8%, 87.8%)
CIE-LABlab(8.95, -17.25, 12.67)
CIE-LCHlch(8.95, 21.40, 143.72°)
OKLaboklab(20.88% -0.0528 0.0413)
OKLCHoklch(20.88% 0.067 142)
XYZxyz(0.5205, 0.9950, 0.1933)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F01 #1E011F
analogous
#111F01 #021F01 #011F0F
triadic
#021F01 #01021F #1F0102
tetradic
#021F01 #01111F #1E011F #1F0F01
square
#021F01 #01111F #1E011F #1F0F01
split-complementary
#021F01 #0F011F #1F0111
monochromatic
#021E01 #021E01 #021F01 #065A03 #0A9605

Accessibility & contrast

On white

17.51
#021F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021F01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F01
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F01#FFFFFF#000000##FFFFFF
##021F011.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)
#201B00
Deuteranopia (green-blind)
#1C1803
Tritanopia (blue-blind)
#001E19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021f01;
/* rgb */ color: rgb(2, 31, 1);
/* oklch */ color: oklch(20.9% 0.067 142.0);
Tailwind
colors: {
  custom: {
    50: '#465a47',
    500: '#021f01',
    950: '#000000',
  },
}
SCSS
$custom: #021f01;
$custom-light: #465a47;
$custom-dark: #000000;
JSON
{
  "hex": "#021f01",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 1
  },
  "hsl": {
    "h": 118,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20876,
    "c": 0.06709,
    "h": 142
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#021F01
secondary
#641567
accent
#29FFF8
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000400
muted
#777977

Preview Lab

Preview with #021F01

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

Preview Lab → · Contrast checker → · Palette generator →

#021F01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva