#021408#021408

#021408 is a very dark, muted green. Relative luminance 0.005; OKLCH L 17.0% C 0.037 H 154.5°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#021408
RGBrgb(2, 20, 8)
HSLhsl(140, 82%, 4%)
HSVhsv(140, 90%, 8%)
CMYKcmyk(90%, 0%, 60%, 92.2%)
CIE-LABlab(4.79, -7.60, 3.76)
CIE-LCHlch(4.79, 8.47, 153.69°)
OKLaboklab(17.02% -0.0334 0.0159)
OKLCHoklch(17.02% 0.037 154.5)
XYZxyz(0.3190, 0.5307, 0.3153)
Luminance0.0053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021408 #14020E
analogous
#051402 #021408 #021411
triadic
#021408 #080214 #140802
tetradic
#021408 #020514 #14020E #141102
square
#021408 #020514 #14020E #141102
split-complementary
#021408 #110214 #140205
monochromatic
#031C0B #031C0B #031C0B #084C1E #0D8335

Accessibility & contrast

On white

18.98
#021408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#021408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021408
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021408#FFFFFF#000000##FFFFFF
##0214081.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141107
Deuteranopia (green-blind)
#111009
Tritanopia (blue-blind)
#001411
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #021408;
/* rgb */ color: rgb(2, 20, 8);
/* oklch */ color: oklch(17.0% 0.037 154.5);
Tailwind
colors: {
  custom: {
    50: '#47514a',
    500: '#021408',
    950: '#000000',
  },
}
SCSS
$custom: #021408;
$custom-light: #47514a;
$custom-dark: #000000;
JSON
{
  "hex": "#021408",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 8
  },
  "hsl": {
    "h": 140,
    "s": 81.818,
    "l": 4.314
  },
  "oklch": {
    "l": 0.1702,
    "c": 0.037,
    "h": 154.5
  },
  "luminance": 0.00531
}

Semantic roles & 50–950 ramp

primary
#021408
secondary
#591844
accent
#30B5F8
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000201
muted
#777877

Preview Lab

Preview with #021408

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

Preview Lab → · Contrast checker → · Palette generator →

#021408 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva