#010802#010802

#010802 is a very dark, muted green. Relative luminance 0.002; OKLCH L 12.0% C 0.028 H 148.5°. Best body text is #FFFFFF at 20.25:1 contrast (WCAG AA passes).

Color values

HEX#010802
RGBrgb(1, 8, 2)
HSLhsl(129, 78%, 2%)
HSVhsv(129, 88%, 3%)
CMYKcmyk(87.5%, 0%, 75%, 96.9%)
CIE-LABlab(1.67, -2.67, 1.63)
CIE-LCHlch(1.67, 3.12, 148.61°)
OKLaboklab(11.97% -0.0237 0.0145)
OKLCHoklch(11.97% 0.028 148.5)
XYZxyz(0.1103, 0.1845, 0.0872)
Luminance0.0019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010802 #080107
analogous
#040801 #010802 #010806
triadic
#010802 #020108 #080201
tetradic
#010802 #010408 #080107 #080601
square
#010802 #010408 #080107 #080601
split-complementary
#010802 #060108 #080104
monochromatic
#031B07 #031B07 #031B07 #083E10 #0F751D

Accessibility & contrast

On white

20.25
#010802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010802
20.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010802#FFFFFF#000000##FFFFFF
##0108021.0020.251.0420.25
#FFFFFF20.251.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #010802;
/* rgb */ color: rgb(1, 8, 2);
/* oklch */ color: oklch(12.0% 0.028 148.5);
Tailwind
colors: {
  custom: {
    50: '#474a48',
    500: '#010802',
    950: '#000000',
  },
}
SCSS
$custom: #010802;
$custom-light: #474a48;
$custom-dark: #000000;
JSON
{
  "hex": "#010802",
  "rgb": {
    "r": 1,
    "g": 8,
    "b": 2
  },
  "hsl": {
    "h": 128.571,
    "s": 77.778,
    "l": 1.765
  },
  "oklch": {
    "l": 0.11967,
    "c": 0.02781,
    "h": 148.5
  },
  "luminance": 0.00185
}

Semantic roles & 50–950 ramp

primary
#010802
secondary
#4E1746
accent
#34D9F4
background
#F3F4F4
surface
#E5E7E6
border
#C1C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #010802

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

Preview Lab → · Contrast checker → · Palette generator →

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