#021F12#021F12

#021F12 is a very dark, muted teal. Relative luminance 0.010; OKLCH L 21.3% C 0.044 H 160.8°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#021F12
RGBrgb(2, 31, 18)
HSLhsl(153, 88%, 6%)
HSVhsv(153, 94%, 12%)
CMYKcmyk(93.5%, 0%, 41.9%, 87.8%)
CIE-LABlab(9.29, -14.49, 5.45)
CIE-LCHlch(9.29, 15.48, 159.40°)
OKLaboklab(21.27% -0.0419 0.0145)
OKLCHoklch(21.27% 0.044 160.8)
XYZxyz(0.6241, 1.0365, 0.7393)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F12 #1F020F
analogous
#021F03 #021F12 #021E1F
triadic
#021F12 #12021F #1F1202
tetradic
#021F12 #03021F #1F020F #1E1F02
square
#021F12 #03021F #1F020F #1E1F02
split-complementary
#021F12 #1F021E #1F0302
monochromatic
#021D11 #021D11 #021F12 #065833 #099255

Accessibility & contrast

On white

17.39
#021F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#021F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F12
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F12#FFFFFF#000000##FFFFFF
##021F121.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1C11
Deuteranopia (green-blind)
#1A1913
Tritanopia (blue-blind)
#001F1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021f12;
/* rgb */ color: rgb(2, 31, 18);
/* oklch */ color: oklch(21.3% 0.044 160.8);
Tailwind
colors: {
  custom: {
    50: '#475a4f',
    500: '#021f12',
    950: '#000000',
  },
}
SCSS
$custom: #021f12;
$custom-light: #475a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#021f12",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 18
  },
  "hsl": {
    "h": 153.103,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21271,
    "c": 0.04432,
    "h": 160.8
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#021F12
secondary
#65183A
accent
#2A89FE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #021F12

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

Preview Lab → · Contrast checker → · Palette generator →

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