#021A04#021A04

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

Color values

HEX#021A04
RGBrgb(2, 26, 4)
HSLhsl(125, 86%, 5%)
HSVhsv(125, 92%, 10%)
CMYKcmyk(92.3%, 0%, 84.6%, 89.8%)
CIE-LABlab(6.87, -12.55, 8.41)
CIE-LCHlch(6.87, 15.11, 146.17°)
OKLaboklab(19.12% -0.0446 0.0311)
OKLCHoklch(19.12% 0.054 145.1)
XYZxyz(0.4163, 0.7604, 0.2397)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A04 #1A0218
analogous
#0C1A02 #021A04 #021A10
triadic
#021A04 #04021A #1A0402
tetradic
#021A04 #020C1A #1A0218 #1A1002
square
#021A04 #020C1A #1A0218 #1A1002
split-complementary
#021A04 #10021A #1A020C
monochromatic
#021C04 #021C04 #021C04 #06530D #0B8C15

Accessibility & contrast

On white

18.23
#021A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A04
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A04#FFFFFF#000000##FFFFFF
##021A041.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021a04;
/* rgb */ color: rgb(2, 26, 4);
/* oklch */ color: oklch(19.1% 0.054 145.1);
Tailwind
colors: {
  custom: {
    50: '#475648',
    500: '#021a04',
    950: '#000000',
  },
}
SCSS
$custom: #021a04;
$custom-light: #475648;
$custom-dark: #000000;
JSON
{
  "hex": "#021a04",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 4
  },
  "hsl": {
    "h": 125,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19118,
    "c": 0.05433,
    "h": 145.1
  },
  "luminance": 0.0076
}

Semantic roles & 50–950 ramp

primary
#021A04
secondary
#60185A
accent
#2CEBFC
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #021A04

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

Preview Lab → · Contrast checker → · Palette generator →

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