#021802#021802

#021802 is a very dark, muted green. Relative luminance 0.007; OKLCH L 18.3% C 0.055 H 142.9°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#021802
RGBrgb(2, 24, 2)
HSLhsl(120, 85%, 5%)
HSVhsv(120, 92%, 9%)
CMYKcmyk(91.7%, 0%, 91.7%, 90.6%)
CIE-LABlab(6.06, -11.25, 8.04)
CIE-LCHlch(6.06, 13.83, 144.44°)
OKLaboklab(18.33% -0.0439 0.0332)
OKLCHoklch(18.33% 0.055 142.9)
XYZxyz(0.3626, 0.6705, 0.1677)
Luminance0.0067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021802 #180218
analogous
#0D1802 #021802 #02180D
triadic
#021802 #020218 #180202
tetradic
#021802 #020D18 #180218 #180D02
square
#021802 #020D18 #180218 #180D02
split-complementary
#021802 #0D0218 #18020D
monochromatic
#021C02 #021C02 #021C02 #075007 #0B890B

Accessibility & contrast

On white

18.52
#021802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#021802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021802
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021802#FFFFFF#000000##FFFFFF
##0218021.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191501
Deuteranopia (green-blind)
#161303
Tritanopia (blue-blind)
#001713
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #021802;
/* rgb */ color: rgb(2, 24, 2);
/* oklch */ color: oklch(18.3% 0.055 142.9);
Tailwind
colors: {
  custom: {
    50: '#475447',
    500: '#021802',
    950: '#000000',
  },
}
SCSS
$custom: #021802;
$custom-light: #475447;
$custom-dark: #000000;
JSON
{
  "hex": "#021802",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.18326,
    "c": 0.05498,
    "h": 142.9
  },
  "luminance": 0.00671
}

Semantic roles & 50–950 ramp

primary
#021802
secondary
#5E185E
accent
#2DFBFB
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #021802

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

Preview Lab → · Contrast checker → · Palette generator →

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