#021302#021302

#021302 is a very dark, muted green. Relative luminance 0.005; OKLCH L 16.4% C 0.047 H 143.1°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#021302
RGBrgb(2, 19, 2)
HSLhsl(120, 81%, 4%)
HSVhsv(120, 89%, 7%)
CMYKcmyk(89.5%, 0%, 89.5%, 92.5%)
CIE-LABlab(4.36, -7.79, 5.57)
CIE-LCHlch(4.36, 9.58, 144.45°)
OKLaboklab(16.45% -0.0375 0.0282)
OKLCHoklch(16.45% 0.047 143.1)
XYZxyz(0.2688, 0.4830, 0.1365)
Luminance0.0048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021302 #130213
analogous
#0B1302 #021302 #02130B
triadic
#021302 #020213 #130202
tetradic
#021302 #020B13 #130213 #130B02
square
#021302 #020B13 #130213 #130B02
split-complementary
#021302 #0B0213 #13020B
monochromatic
#031C03 #031C03 #031C03 #084A08 #0E820E

Accessibility & contrast

On white

19.15
#021302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021302
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021302#FFFFFF#000000##FFFFFF
##0213021.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141001
Deuteranopia (green-blind)
#110E03
Tritanopia (blue-blind)
#01120F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #021302;
/* rgb */ color: rgb(2, 19, 2);
/* oklch */ color: oklch(16.4% 0.047 143.1);
Tailwind
colors: {
  custom: {
    50: '#475047',
    500: '#021302',
    950: '#000000',
  },
}
SCSS
$custom: #021302;
$custom-light: #475047;
$custom-dark: #000000;
JSON
{
  "hex": "#021302",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 80.952,
    "l": 4.118
  },
  "oklch": {
    "l": 0.16447,
    "c": 0.0469,
    "h": 143.1
  },
  "luminance": 0.00483
}

Semantic roles & 50–950 ramp

primary
#021302
secondary
#581858
accent
#30F7F7
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #021302

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

Preview Lab → · Contrast checker → · Palette generator →

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