#021A05#021A05

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

Color values

HEX#021A05
RGBrgb(2, 26, 5)
HSLhsl(128, 86%, 5%)
HSVhsv(128, 92%, 10%)
CMYKcmyk(92.3%, 0%, 80.8%, 89.8%)
CIE-LABlab(6.89, -12.41, 8.04)
CIE-LCHlch(6.89, 14.79, 147.08°)
OKLaboklab(19.14% -0.0438 0.0292)
OKLCHoklch(19.14% 0.053 146.3)
XYZxyz(0.4218, 0.7626, 0.2685)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A05 #1A0217
analogous
#0B1A02 #021A05 #021A11
triadic
#021A05 #05021A #1A0502
tetradic
#021A05 #020B1A #1A0217 #1A1102
square
#021A05 #020B1A #1A0217 #1A1102
split-complementary
#021A05 #11021A #1A020B
monochromatic
#021C05 #021C05 #021C05 #065310 #0B8C1B

Accessibility & contrast

On white

18.22
#021A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A05
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A05#FFFFFF#000000##FFFFFF
##021A051.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021a05;
/* rgb */ color: rgb(2, 26, 5);
/* oklch */ color: oklch(19.1% 0.053 146.3);
Tailwind
colors: {
  custom: {
    50: '#475649',
    500: '#021a05',
    950: '#000000',
  },
}
SCSS
$custom: #021a05;
$custom-light: #475649;
$custom-dark: #000000;
JSON
{
  "hex": "#021a05",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 5
  },
  "hsl": {
    "h": 127.5,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19143,
    "c": 0.05262,
    "h": 146.3
  },
  "luminance": 0.00763
}

Semantic roles & 50–950 ramp

primary
#021A05
secondary
#601857
accent
#2CE2FC
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #021A05

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

Preview Lab → · Contrast checker → · Palette generator →

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