#021812#021812

#021812 is a very dark, muted teal. Relative luminance 0.007; OKLCH L 18.8% C 0.033 H 173.2°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#021812
RGBrgb(2, 24, 18)
HSLhsl(164, 85%, 5%)
HSVhsv(164, 92%, 9%)
CMYKcmyk(91.7%, 0%, 25%, 90.6%)
CIE-LABlab(6.41, -8.76, 1.26)
CIE-LCHlch(6.41, 8.85, 171.83°)
OKLaboklab(18.81% -0.0323 0.0038)
OKLCHoklch(18.81% 0.033 173.2)
XYZxyz(0.4608, 0.7098, 0.6849)
Luminance0.0071 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021812 #180208
analogous
#021807 #021812 #021318
triadic
#021812 #120218 #181202
tetradic
#021812 #070218 #180208 #131802
square
#021812 #070218 #180208 #131802
split-complementary
#021812 #180213 #180702
monochromatic
#021C15 #021C15 #021C15 #07503C #0B8967

Accessibility & contrast

On white

18.39
#021812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#021812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021812
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021812#FFFFFF#000000##FFFFFF
##0218121.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171612
Deuteranopia (green-blind)
#131312
Tritanopia (blue-blind)
#001816
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #021812;
/* rgb */ color: rgb(2, 24, 18);
/* oklch */ color: oklch(18.8% 0.033 173.2);
Tailwind
colors: {
  custom: {
    50: '#475450',
    500: '#021812',
    950: '#000000',
  },
}
SCSS
$custom: #021812;
$custom-light: #475450;
$custom-dark: #000000;
JSON
{
  "hex": "#021812",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 163.636,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.18809,
    "c": 0.03258,
    "h": 173.2
  },
  "luminance": 0.0071
}

Semantic roles & 50–950 ramp

primary
#021812
secondary
#5E182B
accent
#2D65FB
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000202
muted
#777878

Preview Lab

Preview with #021812

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

Preview Lab → · Contrast checker → · Palette generator →

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