#020802#020802

#020802 is a very dark, muted green. Relative luminance 0.002; OKLCH L 12.1% C 0.026 H 143.8°. Best body text is #FFFFFF at 20.23:1 contrast (WCAG AA passes).

Color values

HEX#020802
RGBrgb(2, 8, 2)
HSLhsl(120, 60%, 2%)
HSVhsv(120, 75%, 3%)
CMYKcmyk(75%, 0%, 75%, 96.9%)
CIE-LABlab(1.72, -2.40, 1.72)
CIE-LCHlch(1.72, 2.95, 144.44°)
OKLaboklab(12.15% -0.0206 0.0151)
OKLCHoklch(12.15% 0.026 143.8)
XYZxyz(0.1228, 0.1909, 0.0878)
Luminance0.0019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020802 #080208
analogous
#050802 #020802 #020805
triadic
#020802 #020208 #080202
tetradic
#020802 #020508 #080208 #080502
square
#020802 #020508 #080208 #080502
split-complementary
#020802 #050208 #080205
monochromatic
#061806 #061806 #061806 #0E390E #1A6A1A

Accessibility & contrast

On white

20.23
#020802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#020802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020802
20.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020802#FFFFFF#000000##FFFFFF
##0208021.0020.231.0420.23
#FFFFFF20.231.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #020802;
/* rgb */ color: rgb(2, 8, 2);
/* oklch */ color: oklch(12.1% 0.026 143.8);
Tailwind
colors: {
  custom: {
    50: '#474a48',
    500: '#020802',
    950: '#000000',
  },
}
SCSS
$custom: #020802;
$custom-light: #474a48;
$custom-dark: #000000;
JSON
{
  "hex": "#020802",
  "rgb": {
    "r": 2,
    "g": 8,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 60,
    "l": 1.961
  },
  "oklch": {
    "l": 0.12148,
    "c": 0.02552,
    "h": 143.8
  },
  "luminance": 0.00191
}

Semantic roles & 50–950 ramp

primary
#020802
secondary
#481E48
accent
#45E3E3
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #020802

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

Preview Lab → · Contrast checker → · Palette generator →

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