#021F20#021F20

#021F20 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.8% C 0.035 H 198.1°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#021F20
RGBrgb(2, 31, 32)
HSLhsl(182, 88%, 7%)
HSVhsv(182, 94%, 13%)
CMYKcmyk(93.8%, 3.1%, 0%, 87.5%)
CIE-LABlab(9.78, -10.36, -3.90)
CIE-LCHlch(9.78, 11.07, 200.60°)
OKLaboklab(21.83% -0.0331 -0.0108)
OKLCHoklch(21.83% 0.035 198.1)
XYZxyz(0.7756, 1.0971, 1.5371)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F20 #200302
analogous
#022012 #021F20 #021020
triadic
#021F20 #20021F #1F2002
tetradic
#021F20 #120220 #200302 #102002
square
#021F20 #120220 #200302 #102002
split-complementary
#021F20 #200210 #201202
monochromatic
#021C1D #021C1D #021F20 #06575A #098F93

Accessibility & contrast

On white

17.22
#021F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#021F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F20
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F20#FFFFFF#000000##FFFFFF
##021F201.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D20
Deuteranopia (green-blind)
#171A20
Tritanopia (blue-blind)
#00211F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021f20;
/* rgb */ color: rgb(2, 31, 32);
/* oklch */ color: oklch(21.8% 0.035 198.1);
Tailwind
colors: {
  custom: {
    50: '#475a5b',
    500: '#021f20',
    950: '#000000',
  },
}
SCSS
$custom: #021f20;
$custom-light: #475a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#021f20",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 182,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21826,
    "c": 0.03481,
    "h": 198.1
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#021F20
secondary
#661B18
accent
#3129FE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000404
muted
#777979

Preview Lab

Preview with #021F20

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

Preview Lab → · Contrast checker → · Palette generator →

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