#021E12#021E12

#021E12 is a very dark, muted teal. Relative luminance 0.010; OKLCH L 20.9% C 0.043 H 162.1°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#021E12
RGBrgb(2, 30, 18)
HSLhsl(154, 88%, 6%)
HSVhsv(154, 93%, 12%)
CMYKcmyk(93.3%, 0%, 40%, 88.2%)
CIE-LABlab(8.87, -13.71, 4.84)
CIE-LCHlch(8.87, 14.53, 160.57°)
OKLaboklab(20.92% -0.0405 0.0131)
OKLCHoklch(20.92% 0.043 162.1)
XYZxyz(0.5984, 0.9851, 0.7307)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E12 #1E020E
analogous
#021E04 #021E12 #021C1E
triadic
#021E12 #12021E #1E1202
tetradic
#021E12 #04021E #1E020E #1C1E02
square
#021E12 #04021E #1E020E #1C1E02
split-complementary
#021E12 #1E021C #1E0402
monochromatic
#021D11 #021D11 #021E12 #065734 #0A9157

Accessibility & contrast

On white

17.54
#021E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021E12
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E12#FFFFFF#000000##FFFFFF
##021E121.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1B11
Deuteranopia (green-blind)
#191813
Tritanopia (blue-blind)
#001E1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021e12;
/* rgb */ color: rgb(2, 30, 18);
/* oklch */ color: oklch(20.9% 0.043 162.1);
Tailwind
colors: {
  custom: {
    50: '#47594f',
    500: '#021e12',
    950: '#000000',
  },
}
SCSS
$custom: #021e12;
$custom-light: #47594f;
$custom-dark: #000000;
JSON
{
  "hex": "#021e12",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 18
  },
  "hsl": {
    "h": 154.286,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.2092,
    "c": 0.04261,
    "h": 162.1
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#021E12
secondary
#641838
accent
#2A85FE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #021E12

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

Preview Lab → · Contrast checker → · Palette generator →

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