#020702#020702

#020702 is a very dark, muted green. Relative luminance 0.002; OKLCH L 11.7% C 0.023 H 143.9°. Best body text is #FFFFFF at 20.31:1 contrast (WCAG AA passes).

Color values

HEX#020702
RGBrgb(2, 7, 2)
HSLhsl(120, 56%, 2%)
HSVhsv(120, 71%, 3%)
CMYKcmyk(71.4%, 0%, 71.4%, 97.3%)
CIE-LABlab(1.53, -2.00, 1.43)
CIE-LCHlch(1.53, 2.46, 144.42°)
OKLaboklab(11.68% -0.0184 0.0134)
OKLCHoklch(11.68% 0.023 143.9)
XYZxyz(0.1120, 0.1692, 0.0842)
Luminance0.0017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020702 #070207
analogous
#050702 #020702 #020705
triadic
#020702 #020207 #070202
tetradic
#020702 #020507 #070207 #070502
square
#020702 #020507 #070207 #070502
split-complementary
#020702 #050207 #070205
monochromatic
#071807 #071807 #071807 #103710 #1D661D

Accessibility & contrast

On white

20.31
#020702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#020702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020702
20.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020702#FFFFFF#000000##FFFFFF
##0207021.0020.311.0320.31
#FFFFFF20.311.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070602
Deuteranopia (green-blind)
#060502
Tritanopia (blue-blind)
#020705
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #020702;
/* rgb */ color: rgb(2, 7, 2);
/* oklch */ color: oklch(11.7% 0.023 143.9);
Tailwind
colors: {
  custom: {
    50: '#484a48',
    500: '#020702',
    950: '#000000',
  },
}
SCSS
$custom: #020702;
$custom-light: #484a48;
$custom-dark: #000000;
JSON
{
  "hex": "#020702",
  "rgb": {
    "r": 2,
    "g": 7,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 55.556,
    "l": 1.765
  },
  "oklch": {
    "l": 0.11684,
    "c": 0.02282,
    "h": 143.9
  },
  "luminance": 0.00169
}

Semantic roles & 50–950 ramp

primary
#020702
secondary
#461F46
accent
#49DFDF
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #020702

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

Preview Lab → · Contrast checker → · Palette generator →

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