#021A06#021A06

#021A06 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.2% C 0.051 H 147.6°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#021A06
RGBrgb(2, 26, 6)
HSLhsl(130, 86%, 5%)
HSVhsv(130, 92%, 10%)
CMYKcmyk(92.3%, 0%, 76.9%, 89.8%)
CIE-LABlab(6.91, -12.27, 7.66)
CIE-LCHlch(6.91, 14.47, 148.04°)
OKLaboklab(19.17% -0.043 0.0274)
OKLCHoklch(19.17% 0.051 147.6)
XYZxyz(0.4273, 0.7648, 0.2974)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A06 #1A0216
analogous
#0A1A02 #021A06 #021A12
triadic
#021A06 #06021A #1A0602
tetradic
#021A06 #020A1A #1A0216 #1A1202
square
#021A06 #020A1A #1A0216 #1A1202
split-complementary
#021A06 #12021A #1A020A
monochromatic
#021C07 #021C07 #021C07 #065313 #0B8C20

Accessibility & contrast

On white

18.21
#021A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A06
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A06#FFFFFF#000000##FFFFFF
##021A061.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021a06;
/* rgb */ color: rgb(2, 26, 6);
/* oklch */ color: oklch(19.2% 0.051 147.6);
Tailwind
colors: {
  custom: {
    50: '#475649',
    500: '#021a06',
    950: '#000000',
  },
}
SCSS
$custom: #021a06;
$custom-light: #475649;
$custom-dark: #000000;
JSON
{
  "hex": "#021a06",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 6
  },
  "hsl": {
    "h": 130,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19168,
    "c": 0.05099,
    "h": 147.6
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#021A06
secondary
#601854
accent
#2CD9FC
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #021A06

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

Preview Lab → · Contrast checker → · Palette generator →

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