#021C01#021C01

#021C01 is a very dark, moderate green. Relative luminance 0.008; OKLCH L 19.8% C 0.063 H 141.9°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#021C01
RGBrgb(2, 28, 1)
HSLhsl(118, 93%, 6%)
HSVhsv(118, 96%, 11%)
CMYKcmyk(92.9%, 0%, 96.4%, 89%)
CIE-LABlab(7.64, -14.67, 10.76)
CIE-LCHlch(7.64, 18.19, 143.73°)
OKLaboklab(19.78% -0.0495 0.0388)
OKLCHoklch(19.78% 0.063 141.9)
XYZxyz(0.4457, 0.8456, 0.1684)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C01 #1B011C
analogous
#0F1C01 #021C01 #011C0D
triadic
#021C01 #01021C #1C0102
tetradic
#021C01 #010F1C #1B011C #1C0D01
square
#021C01 #010F1C #1B011C #1C0D01
split-complementary
#021C01 #0D011C #1C010F
monochromatic
#021E01 #021E01 #021E01 #065703 #0A9205

Accessibility & contrast

On white

17.96
#021C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#021C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C01
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C01#FFFFFF#000000##FFFFFF
##021C011.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1800
Deuteranopia (green-blind)
#1A1603
Tritanopia (blue-blind)
#001B16
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021c01;
/* rgb */ color: rgb(2, 28, 1);
/* oklch */ color: oklch(19.8% 0.063 141.9);
Tailwind
colors: {
  custom: {
    50: '#475747',
    500: '#021c01',
    950: '#000000',
  },
}
SCSS
$custom: #021c01;
$custom-light: #475747;
$custom-dark: #000000;
JSON
{
  "hex": "#021c01",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 1
  },
  "hsl": {
    "h": 117.778,
    "s": 93.103,
    "l": 5.686
  },
  "oklch": {
    "l": 0.1978,
    "c": 0.06292,
    "h": 141.9
  },
  "luminance": 0.00846
}

Semantic roles & 50–950 ramp

primary
#021C01
secondary
#611564
accent
#29FFF7
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000300
muted
#777877

Preview Lab

Preview with #021C01

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

Preview Lab → · Contrast checker → · Palette generator →

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