#021A0D#021A0D

#021A0D is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.4% C 0.042 H 157.6°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#021A0D
RGBrgb(2, 26, 13)
HSLhsl(148, 86%, 5%)
HSVhsv(148, 92%, 10%)
CMYKcmyk(92.3%, 0%, 50%, 89.8%)
CIE-LABlab(7.05, -11.27, 4.91)
CIE-LCHlch(7.05, 12.29, 156.45°)
OKLaboklab(19.35% -0.0384 0.0158)
OKLCHoklch(19.35% 0.042 157.6)
XYZxyz(0.4670, 0.7807, 0.5068)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A0D #1A020F
analogous
#031A02 #021A0D #021A19
triadic
#021A0D #0D021A #1A0D02
tetradic
#021A0D #02031A #1A020F #1A1902
square
#021A0D #02031A #1A020F #1A1902
split-complementary
#021A0D #19021A #1A0203
monochromatic
#021C0E #021C0E #021C0E #065329 #0B8C46

Accessibility & contrast

On white

18.16
#021A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#021A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A0D
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A0D#FFFFFF#000000##FFFFFF
##021A0D1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A170C
Deuteranopia (green-blind)
#16150E
Tritanopia (blue-blind)
#001A17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021a0d;
/* rgb */ color: rgb(2, 26, 13);
/* oklch */ color: oklch(19.4% 0.042 157.6);
Tailwind
colors: {
  custom: {
    50: '#47564c',
    500: '#021a0d',
    950: '#000000',
  },
}
SCSS
$custom: #021a0d;
$custom-light: #47564c;
$custom-dark: #000000;
JSON
{
  "hex": "#021a0d",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 13
  },
  "hsl": {
    "h": 147.5,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.1935,
    "c": 0.04154,
    "h": 157.6
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#021A0D
secondary
#60183F
accent
#2C9DFC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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