#021D02#021D02

#021D02 is a very dark, moderate green. Relative luminance 0.009; OKLCH L 20.2% C 0.062 H 142.8°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#021D02
RGBrgb(2, 29, 2)
HSLhsl(120, 87%, 6%)
HSVhsv(120, 93%, 11%)
CMYKcmyk(93.1%, 0%, 93.1%, 88.6%)
CIE-LABlab(8.09, -15.41, 11.02)
CIE-LCHlch(8.09, 18.95, 144.44°)
OKLaboklab(20.17% -0.0498 0.0378)
OKLCHoklch(20.17% 0.062 142.8)
XYZxyz(0.4753, 0.8960, 0.2053)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021D02 #1D021D
analogous
#0F1D02 #021D02 #021D0F
triadic
#021D02 #02021D #1D0202
tetradic
#021D02 #020F1D #1D021D #1D0F02
square
#021D02 #020F1D #1D021D #1D0F02
split-complementary
#021D02 #0F021D #1D020F
monochromatic
#021D02 #021D02 #021D02 #065606 #0A900A

Accessibility & contrast

On white

17.81
#021D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#021D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021D02
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021D02#FFFFFF#000000##FFFFFF
##021D021.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1900
Deuteranopia (green-blind)
#1B1704
Tritanopia (blue-blind)
#001C17
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021d02;
/* rgb */ color: rgb(2, 29, 2);
/* oklch */ color: oklch(20.2% 0.062 142.8);
Tailwind
colors: {
  custom: {
    50: '#465847',
    500: '#021d02',
    950: '#000000',
  },
}
SCSS
$custom: #021d02;
$custom-light: #465847;
$custom-dark: #000000;
JSON
{
  "hex": "#021d02",
  "rgb": {
    "r": 2,
    "g": 29,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 87.097,
    "l": 6.078
  },
  "oklch": {
    "l": 0.2017,
    "c": 0.06249,
    "h": 142.8
  },
  "luminance": 0.00896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #021D02

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

Preview Lab → · Contrast checker → · Palette generator →

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