#021304#021304

#021304 is a very dark, muted green. Relative luminance 0.005; OKLCH L 16.5% C 0.042 H 146.8°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#021304
RGBrgb(2, 19, 4)
HSLhsl(127, 81%, 4%)
HSVhsv(127, 89%, 7%)
CMYKcmyk(89.5%, 0%, 78.9%, 92.5%)
CIE-LABlab(4.40, -7.52, 4.81)
CIE-LCHlch(4.40, 8.92, 147.36°)
OKLaboklab(16.52% -0.0354 0.0231)
OKLCHoklch(16.52% 0.042 146.8)
XYZxyz(0.2798, 0.4874, 0.1942)
Luminance0.0049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021304 #130211
analogous
#091302 #021304 #02130D
triadic
#021304 #040213 #130402
tetradic
#021304 #020913 #130211 #130D02
square
#021304 #020913 #130211 #130D02
split-complementary
#021304 #0D0213 #130209
monochromatic
#031C06 #031C06 #031C06 #084A10 #0E821B

Accessibility & contrast

On white

19.14
#021304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#021304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021304
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021304#FFFFFF#000000##FFFFFF
##0213041.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131003
Deuteranopia (green-blind)
#110F05
Tritanopia (blue-blind)
#00120F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #021304;
/* rgb */ color: rgb(2, 19, 4);
/* oklch */ color: oklch(16.5% 0.042 146.8);
Tailwind
colors: {
  custom: {
    50: '#475048',
    500: '#021304',
    950: '#000000',
  },
}
SCSS
$custom: #021304;
$custom-light: #475048;
$custom-dark: #000000;
JSON
{
  "hex": "#021304",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 4
  },
  "hsl": {
    "h": 127.059,
    "s": 80.952,
    "l": 4.118
  },
  "oklch": {
    "l": 0.16515,
    "c": 0.04228,
    "h": 146.8
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#021304
secondary
#581851
accent
#30E0F7
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #021304

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

Preview Lab → · Contrast checker → · Palette generator →

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