#021C02#021C02

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

Color values

HEX#021C02
RGBrgb(2, 28, 2)
HSLhsl(120, 87%, 6%)
HSVhsv(120, 93%, 11%)
CMYKcmyk(92.9%, 0%, 92.9%, 89%)
CIE-LABlab(7.66, -14.52, 10.38)
CIE-LCHlch(7.66, 17.85, 144.44°)
OKLaboklab(19.8% -0.0486 0.0369)
OKLCHoklch(19.8% 0.061 142.8)
XYZxyz(0.4512, 0.8477, 0.1973)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C02 #1C021C
analogous
#0F1C02 #021C02 #021C0F
triadic
#021C02 #02021C #1C0202
tetradic
#021C02 #020F1C #1C021C #1C0F02
square
#021C02 #020F1C #1C021C #1C0F02
split-complementary
#021C02 #0F021C #1C020F
monochromatic
#021D02 #021D02 #021D02 #065506 #0A8E0A

Accessibility & contrast

On white

17.95
#021C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021C02
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C02#FFFFFF#000000##FFFFFF
##021C021.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021c02;
/* rgb */ color: rgb(2, 28, 2);
/* oklch */ color: oklch(19.8% 0.061 142.8);
Tailwind
colors: {
  custom: {
    50: '#475747',
    500: '#021c02',
    950: '#000000',
  },
}
SCSS
$custom: #021c02;
$custom-light: #475747;
$custom-dark: #000000;
JSON
{
  "hex": "#021c02",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19804,
    "c": 0.06103,
    "h": 142.8
  },
  "luminance": 0.00848
}

Semantic roles & 50–950 ramp

primary
#021C02
secondary
#621862
accent
#2BFDFD
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #021C02

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

Preview Lab → · Contrast checker → · Palette generator →

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