#021A0A#021A0A

#021A0A is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.3% C 0.045 H 152.8°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#021A0A
RGBrgb(2, 26, 10)
HSLhsl(140, 86%, 5%)
HSVhsv(140, 92%, 10%)
CMYKcmyk(92.3%, 0%, 61.5%, 89.8%)
CIE-LABlab(6.99, -11.72, 6.14)
CIE-LCHlch(6.99, 13.23, 152.33°)
OKLaboklab(19.27% -0.0403 0.0207)
OKLCHoklch(19.27% 0.045 152.8)
XYZxyz(0.4492, 0.7736, 0.4127)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A0A #1A0212
analogous
#061A02 #021A0A #021A16
triadic
#021A0A #0A021A #1A0A02
tetradic
#021A0A #02061A #1A0212 #1A1602
square
#021A0A #02061A #1A0212 #1A1602
split-complementary
#021A0A #16021A #1A0206
monochromatic
#021C0B #021C0B #021C0B #065320 #0B8C36

Accessibility & contrast

On white

18.18
#021A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A0A
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A0A#FFFFFF#000000##FFFFFF
##021A0A1.0018.181.1518.18
#FFFFFF18.181.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1709
Deuteranopia (green-blind)
#17150B
Tritanopia (blue-blind)
#001916
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021a0a;
/* rgb */ color: rgb(2, 26, 10);
/* oklch */ color: oklch(19.3% 0.045 152.8);
Tailwind
colors: {
  custom: {
    50: '#47564b',
    500: '#021a0a',
    950: '#000000',
  },
}
SCSS
$custom: #021a0a;
$custom-light: #47564b;
$custom-dark: #000000;
JSON
{
  "hex": "#021a0a",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 10
  },
  "hsl": {
    "h": 140,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19269,
    "c": 0.04532,
    "h": 152.8
  },
  "luminance": 0.00774
}

Semantic roles & 50–950 ramp

primary
#021A0A
secondary
#601848
accent
#2CB7FC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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