#021402#021402

#021402 is a very dark, muted green. Relative luminance 0.005; OKLCH L 16.8% C 0.049 H 143.0°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#021402
RGBrgb(2, 20, 2)
HSLhsl(120, 82%, 4%)
HSVhsv(120, 90%, 8%)
CMYKcmyk(90%, 0%, 90%, 92.2%)
CIE-LABlab(4.68, -8.43, 6.03)
CIE-LCHlch(4.68, 10.37, 144.45°)
OKLaboklab(16.83% -0.0388 0.0292)
OKLCHoklch(16.83% 0.049 143)
XYZxyz(0.2861, 0.5176, 0.1422)
Luminance0.0052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021402 #140214
analogous
#0B1402 #021402 #02140B
triadic
#021402 #020214 #140202
tetradic
#021402 #020B14 #140214 #140B02
square
#021402 #020B14 #140214 #140B02
split-complementary
#021402 #0B0214 #14020B
monochromatic
#031C03 #031C03 #031C03 #084C08 #0D830D

Accessibility & contrast

On white

19.03
#021402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021402
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021402#FFFFFF#000000##FFFFFF
##0214021.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021402;
/* rgb */ color: rgb(2, 20, 2);
/* oklch */ color: oklch(16.8% 0.049 143.0);
Tailwind
colors: {
  custom: {
    50: '#475147',
    500: '#021402',
    950: '#000000',
  },
}
SCSS
$custom: #021402;
$custom-light: #475147;
$custom-dark: #000000;
JSON
{
  "hex": "#021402",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 81.818,
    "l": 4.314
  },
  "oklch": {
    "l": 0.16826,
    "c": 0.04857,
    "h": 143
  },
  "luminance": 0.00518
}

Semantic roles & 50–950 ramp

primary
#021402
secondary
#591859
accent
#30F8F8
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #021402

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

Preview Lab → · Contrast checker → · Palette generator →

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