#021404#021404

#021404 is a very dark, muted green. Relative luminance 0.005; OKLCH L 16.9% C 0.044 H 146.5°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#021404
RGBrgb(2, 20, 4)
HSLhsl(127, 82%, 4%)
HSVhsv(127, 90%, 8%)
CMYKcmyk(90%, 0%, 80%, 92.2%)
CIE-LABlab(4.72, -8.15, 5.27)
CIE-LCHlch(4.72, 9.71, 147.12°)
OKLaboklab(16.89% -0.0368 0.0243)
OKLCHoklch(16.89% 0.044 146.5)
XYZxyz(0.2971, 0.5220, 0.1999)
Luminance0.0052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021404 #140212
analogous
#091402 #021404 #02140D
triadic
#021404 #040214 #140402
tetradic
#021404 #020914 #140212 #140D02
square
#021404 #020914 #140212 #140D02
split-complementary
#021404 #0D0214 #140209
monochromatic
#031C06 #031C06 #031C06 #084C0F #0D831A

Accessibility & contrast

On white

19.01
#021404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#021404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021404
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021404#FFFFFF#000000##FFFFFF
##0214041.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141103
Deuteranopia (green-blind)
#120F05
Tritanopia (blue-blind)
#001310
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #021404;
/* rgb */ color: rgb(2, 20, 4);
/* oklch */ color: oklch(16.9% 0.044 146.5);
Tailwind
colors: {
  custom: {
    50: '#475148',
    500: '#021404',
    950: '#000000',
  },
}
SCSS
$custom: #021404;
$custom-light: #475148;
$custom-dark: #000000;
JSON
{
  "hex": "#021404",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 4
  },
  "hsl": {
    "h": 126.667,
    "s": 81.818,
    "l": 4.314
  },
  "oklch": {
    "l": 0.16891,
    "c": 0.04409,
    "h": 146.5
  },
  "luminance": 0.00522
}

Semantic roles & 50–950 ramp

primary
#021404
secondary
#591852
accent
#30E2F8
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #021404

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

Preview Lab → · Contrast checker → · Palette generator →

#021404 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva