#021A02#021A02

#021A02 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.1% C 0.058 H 142.9°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#021A02
RGBrgb(2, 26, 2)
HSLhsl(120, 86%, 5%)
HSVhsv(120, 92%, 10%)
CMYKcmyk(92.3%, 0%, 92.3%, 89.8%)
CIE-LABlab(6.83, -12.83, 9.17)
CIE-LCHlch(6.83, 15.77, 144.44°)
OKLaboklab(19.07% -0.0463 0.035)
OKLCHoklch(19.07% 0.058 142.9)
XYZxyz(0.4054, 0.7560, 0.1820)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A02 #1A021A
analogous
#0E1A02 #021A02 #021A0E
triadic
#021A02 #02021A #1A0202
tetradic
#021A02 #020E1A #1A021A #1A0E02
square
#021A02 #020E1A #1A021A #1A0E02
split-complementary
#021A02 #0E021A #1A020E
monochromatic
#021C02 #021C02 #021C02 #065306 #0B8C0B

Accessibility & contrast

On white

18.24
#021A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#021A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A02
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A02#FFFFFF#000000##FFFFFF
##021A021.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1600
Deuteranopia (green-blind)
#181403
Tritanopia (blue-blind)
#001915
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021a02;
/* rgb */ color: rgb(2, 26, 2);
/* oklch */ color: oklch(19.1% 0.058 142.9);
Tailwind
colors: {
  custom: {
    50: '#475647',
    500: '#021a02',
    950: '#000000',
  },
}
SCSS
$custom: #021a02;
$custom-light: #475647;
$custom-dark: #000000;
JSON
{
  "hex": "#021a02",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19068,
    "c": 0.05804,
    "h": 142.9
  },
  "luminance": 0.00756
}

Semantic roles & 50–950 ramp

primary
#021A02
secondary
#601860
accent
#2CFCFC
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #021A02

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

Preview Lab → · Contrast checker → · Palette generator →

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