#021C00#021C00

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

Color values

HEX#021C00
RGBrgb(2, 28, 0)
HSLhsl(116, 100%, 5%)
HSVhsv(116, 100%, 11%)
CMYKcmyk(92.9%, 0%, 100%, 89%)
CIE-LABlab(7.62, -14.80, 11.14)
CIE-LCHlch(7.62, 18.52, 143.04°)
OKLaboklab(19.76% -0.0504 0.0409)
OKLCHoklch(19.76% 0.065 140.9)
XYZxyz(0.4403, 0.8434, 0.1396)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C00 #1A001C
analogous
#101C00 #021C00 #001C0C
triadic
#021C00 #00021C #1C0002
tetradic
#021C00 #00101C #1A001C #1C0C00
square
#021C00 #00101C #1A001C #1C0C00
split-complementary
#021C00 #0C001C #1C0010
monochromatic
#021F00 #021F00 #021F00 #065900 #0B9600

Accessibility & contrast

On white

17.97
#021C00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021C00
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C00#FFFFFF#000000##FFFFFF
##021C001.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021c00;
/* rgb */ color: rgb(2, 28, 0);
/* oklch */ color: oklch(19.8% 0.065 140.9);
Tailwind
colors: {
  custom: {
    50: '#475746',
    500: '#021c00',
    950: '#000000',
  },
}
SCSS
$custom: #021c00;
$custom-light: #475746;
$custom-dark: #000000;
JSON
{
  "hex": "#021c00",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 0
  },
  "hsl": {
    "h": 115.714,
    "s": 100,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19757,
    "c": 0.06491,
    "h": 140.9
  },
  "luminance": 0.00843
}

Semantic roles & 50–950 ramp

primary
#021C00
secondary
#601266
accent
#29FFF0
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000300
muted
#777877

Preview Lab

Preview with #021C00

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

Preview Lab → · Contrast checker → · Palette generator →

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