#020C0A#020C0A

#020C0A is a very dark, near-neutral teal. Relative luminance 0.003; OKLCH L 14.1% C 0.020 H 182.5°. Best body text is #FFFFFF at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#020C0A
RGBrgb(2, 12, 10)
HSLhsl(168, 71%, 3%)
HSVhsv(168, 83%, 5%)
CMYKcmyk(83.3%, 0%, 16.7%, 95.3%)
CIE-LABlab(2.69, -2.94, -0.13)
CIE-LCHlch(2.69, 2.94, 182.58°)
OKLaboklab(14.14% -0.0196 -0.0008)
OKLCHoklch(14.14% 0.02 182.5)
XYZxyz(0.2113, 0.2977, 0.3334)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020C0A #0C0204
analogous
#020C05 #020C0A #02090C
triadic
#020C0A #0A020C #0C0A02
tetradic
#020C0A #05020C #0C0204 #090C02
square
#020C0A #05020C #0C0204 #090C02
split-complementary
#020C0A #0C0209 #0C0502
monochromatic
#041A16 #041A16 #041A16 #0B4036 #137561

Accessibility & contrast

On white

19.82
#020C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#020C0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020C0A
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020C0A#FFFFFF#000000##FFFFFF
##020C0A1.0019.821.0619.82
#FFFFFF19.821.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0B0A
Deuteranopia (green-blind)
#09090A
Tritanopia (blue-blind)
#000C0B
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #020c0a;
/* rgb */ color: rgb(2, 12, 10);
/* oklch */ color: oklch(14.1% 0.020 182.5);
Tailwind
colors: {
  custom: {
    50: '#474c4b',
    500: '#020c0a',
    950: '#000000',
  },
}
SCSS
$custom: #020c0a;
$custom-light: #474c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#020c0a",
  "rgb": {
    "r": 2,
    "g": 12,
    "b": 10
  },
  "hsl": {
    "h": 168,
    "s": 71.429,
    "l": 2.745
  },
  "oklch": {
    "l": 0.14142,
    "c": 0.01959,
    "h": 182.5
  },
  "luminance": 0.00298
}

Semantic roles & 50–950 ramp

primary
#020C0A
secondary
#4F1A25
accent
#3A5EEE
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #020C0A

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

Preview Lab → · Contrast checker → · Palette generator →

#020C0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva