#020806#020806

#020806 is a very dark, near-neutral teal. Relative luminance 0.002; OKLCH L 12.4% C 0.016 H 174.8°. Best body text is #FFFFFF at 20.19:1 contrast (WCAG AA passes).

Color values

HEX#020806
RGBrgb(2, 8, 6)
HSLhsl(160, 60%, 2%)
HSVhsv(160, 75%, 3%)
CMYKcmyk(75%, 0%, 25%, 96.9%)
CIE-LABlab(1.80, -1.85, 0.20)
CIE-LCHlch(1.80, 1.86, 173.71°)
OKLaboklab(12.4% -0.0156 0.0014)
OKLCHoklch(12.4% 0.016 174.8)
XYZxyz(0.1447, 0.1997, 0.2032)
Luminance0.0020 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020806 #080204
analogous
#020803 #020806 #020708
triadic
#020806 #060208 #080602
tetradic
#020806 #030208 #080204 #070802
square
#020806 #030208 #080204 #070802
split-complementary
#020806 #080207 #080302
monochromatic
#061812 #061812 #061812 #0E392B #1A6A4F

Accessibility & contrast

On white

20.19
#020806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020806
20.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020806#FFFFFF#000000##FFFFFF
##0208061.0020.191.0420.19
#FFFFFF20.191.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070706
Deuteranopia (green-blind)
#060606
Tritanopia (blue-blind)
#010807
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #020806;
/* rgb */ color: rgb(2, 8, 6);
/* oklch */ color: oklch(12.4% 0.016 174.8);
Tailwind
colors: {
  custom: {
    50: '#474a49',
    500: '#020806',
    950: '#000000',
  },
}
SCSS
$custom: #020806;
$custom-light: #474a49;
$custom-dark: #000000;
JSON
{
  "hex": "#020806",
  "rgb": {
    "r": 2,
    "g": 8,
    "b": 6
  },
  "hsl": {
    "h": 160,
    "s": 60,
    "l": 1.961
  },
  "oklch": {
    "l": 0.12395,
    "c": 0.01565,
    "h": 174.8
  },
  "luminance": 0.002
}

Semantic roles & 50–950 ramp

primary
#020806
secondary
#481E2C
accent
#4579E3
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #020806

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

Preview Lab → · Contrast checker → · Palette generator →

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