#021A12#021A12

#021A12 is a very dark, muted teal. Relative luminance 0.008; OKLCH L 19.5% C 0.036 H 168.7°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#021A12
RGBrgb(2, 26, 18)
HSLhsl(160, 86%, 5%)
HSVhsv(160, 92%, 10%)
CMYKcmyk(92.3%, 0%, 30.8%, 89.8%)
CIE-LABlab(7.18, -10.34, 2.39)
CIE-LCHlch(7.18, 10.61, 167.00°)
OKLaboklab(19.51% -0.0351 0.007)
OKLCHoklch(19.51% 0.036 168.7)
XYZxyz(0.5036, 0.7953, 0.6991)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A12 #1A020A
analogous
#021A06 #021A12 #02161A
triadic
#021A12 #12021A #1A1202
tetradic
#021A12 #06021A #1A020A #161A02
square
#021A12 #06021A #1A020A #161A02
split-complementary
#021A12 #1A0216 #1A0602
monochromatic
#021C14 #021C14 #021C14 #065339 #0B8C61

Accessibility & contrast

On white

18.12
#021A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#021A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A12
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A12#FFFFFF#000000##FFFFFF
##021A121.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191712
Deuteranopia (green-blind)
#151513
Tritanopia (blue-blind)
#001A18
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021a12;
/* rgb */ color: rgb(2, 26, 18);
/* oklch */ color: oklch(19.5% 0.036 168.7);
Tailwind
colors: {
  custom: {
    50: '#475650',
    500: '#021a12',
    950: '#000000',
  },
}
SCSS
$custom: #021a12;
$custom-light: #475650;
$custom-dark: #000000;
JSON
{
  "hex": "#021a12",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 18
  },
  "hsl": {
    "h": 160,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19514,
    "c": 0.03582,
    "h": 168.7
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#021A12
secondary
#601830
accent
#2C71FC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #021A12

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

Preview Lab → · Contrast checker → · Palette generator →

#021A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva