#021C04#021C04

#021C04 is a very dark, muted green. Relative luminance 0.009; OKLCH L 19.9% C 0.058 H 144.8°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#021C04
RGBrgb(2, 28, 4)
HSLhsl(125, 87%, 6%)
HSVhsv(125, 93%, 11%)
CMYKcmyk(92.9%, 0%, 85.7%, 89%)
CIE-LABlab(7.70, -14.24, 9.62)
CIE-LCHlch(7.70, 17.19, 145.96°)
OKLaboklab(19.85% -0.047 0.0331)
OKLCHoklch(19.85% 0.058 144.8)
XYZxyz(0.4622, 0.8521, 0.2550)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C04 #1C021A
analogous
#0D1C02 #021C04 #021C11
triadic
#021C04 #04021C #1C0402
tetradic
#021C04 #020D1C #1C021A #1C1102
square
#021C04 #020D1C #1C021A #1C1102
split-complementary
#021C04 #11021C #1C020D
monochromatic
#021D04 #021D04 #021D04 #06550C #0A8E14

Accessibility & contrast

On white

17.94
#021C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021C04
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C04#FFFFFF#000000##FFFFFF
##021C041.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1802
Deuteranopia (green-blind)
#191605
Tritanopia (blue-blind)
#001B17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021c04;
/* rgb */ color: rgb(2, 28, 4);
/* oklch */ color: oklch(19.9% 0.058 144.8);
Tailwind
colors: {
  custom: {
    50: '#475748',
    500: '#021c04',
    950: '#000000',
  },
}
SCSS
$custom: #021c04;
$custom-light: #475748;
$custom-dark: #000000;
JSON
{
  "hex": "#021c04",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 4
  },
  "hsl": {
    "h": 124.615,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.1985,
    "c": 0.05753,
    "h": 144.8
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#021C04
secondary
#62185C
accent
#2BEDFD
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #021C04

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

Preview Lab → · Contrast checker → · Palette generator →

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