#021E18#021E18

#021E18 is a very dark, muted teal. Relative luminance 0.010; OKLCH L 21.1% C 0.037 H 176.3°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#021E18
RGBrgb(2, 30, 24)
HSLhsl(167, 88%, 6%)
HSVhsv(167, 93%, 12%)
CMYKcmyk(93.3%, 0%, 20%, 88.2%)
CIE-LABlab(9.05, -12.22, 0.98)
CIE-LCHlch(9.05, 12.26, 175.42°)
OKLaboklab(21.13% -0.0367 0.0024)
OKLCHoklch(21.13% 0.037 176.3)
XYZxyz(0.6541, 1.0073, 1.0239)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E18 #1E0208
analogous
#021E0A #021E18 #02161E
triadic
#021E18 #18021E #1E1802
tetradic
#021E18 #0A021E #1E0208 #161E02
square
#021E18 #0A021E #1E0208 #161E02
split-complementary
#021E18 #1E0216 #1E0A02
monochromatic
#021D17 #021D17 #021E18 #065746 #0A9174

Accessibility & contrast

On white

17.48
#021E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021E18
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E18#FFFFFF#000000##FFFFFF
##021E181.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021e18;
/* rgb */ color: rgb(2, 30, 24);
/* oklch */ color: oklch(21.1% 0.037 176.3);
Tailwind
colors: {
  custom: {
    50: '#465954',
    500: '#021e18',
    950: '#000000',
  },
}
SCSS
$custom: #021e18;
$custom-light: #465954;
$custom-dark: #000000;
JSON
{
  "hex": "#021e18",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 24
  },
  "hsl": {
    "h": 167.143,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.21134,
    "c": 0.03675,
    "h": 176.3
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#021E18
secondary
#641828
accent
#2A57FE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #021E18

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

Preview Lab → · Contrast checker → · Palette generator →

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