#021B12#021B12

#021B12 is a very dark, muted teal. Relative luminance 0.008; OKLCH L 19.9% C 0.037 H 166.8°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#021B12
RGBrgb(2, 27, 18)
HSLhsl(158, 86%, 6%)
HSVhsv(158, 93%, 11%)
CMYKcmyk(92.6%, 0%, 33.3%, 89.4%)
CIE-LABlab(7.59, -11.17, 2.98)
CIE-LCHlch(7.59, 11.56, 165.05°)
OKLaboklab(19.87% -0.0365 0.0086)
OKLCHoklch(19.87% 0.038 166.8)
XYZxyz(0.5261, 0.8404, 0.7066)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B12 #1B020B
analogous
#021B05 #021B12 #02171B
triadic
#021B12 #12021B #1B1202
tetradic
#021B12 #05021B #1B020B #171B02
square
#021B12 #05021B #1B020B #171B02
split-complementary
#021B12 #1B0217 #1B0502
monochromatic
#021C13 #021C13 #021C13 #065438 #0A8D5E

Accessibility & contrast

On white

17.98
#021B12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#021B12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B12
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B12#FFFFFF#000000##FFFFFF
##021B121.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1812
Deuteranopia (green-blind)
#161613
Tritanopia (blue-blind)
#001B18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021b12;
/* rgb */ color: rgb(2, 27, 18);
/* oklch */ color: oklch(19.9% 0.037 166.8);
Tailwind
colors: {
  custom: {
    50: '#475750',
    500: '#021b12',
    950: '#000000',
  },
}
SCSS
$custom: #021b12;
$custom-light: #475750;
$custom-dark: #000000;
JSON
{
  "hex": "#021b12",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 18
  },
  "hsl": {
    "h": 158.4,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19866,
    "c": 0.0375,
    "h": 166.8
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#021B12
secondary
#611832
accent
#2B77FC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #021B12

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

Preview Lab → · Contrast checker → · Palette generator →

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