#202822#202822

#202822 is a dark, near-neutral green. Relative luminance 0.019; OKLCH L 26.7% C 0.016 H 152.8°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#202822
RGBrgb(32, 40, 34)
HSLhsl(135, 11%, 14%)
HSVhsv(135, 20%, 16%)
CMYKcmyk(20%, 0%, 15%, 84.3%)
CIE-LABlab(15.17, -5.07, 2.78)
CIE-LCHlch(15.17, 5.78, 151.23°)
OKLaboklab(26.69% -0.0141 0.0072)
OKLCHoklch(26.69% 0.016 152.8)
XYZxyz(1.6431, 1.9401, 1.8010)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202822 #282026
analogous
#222820 #202822 #202826
triadic
#202822 #222028 #282220
tetradic
#202822 #202228 #282026 #282620
square
#202822 #202228 #282026 #282620
split-complementary
#202822 #262028 #282022
monochromatic
#0E110E #0E110E #202822 #3B4A3F #566C5C

Accessibility & contrast

On white

15.13
#202822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#202822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202822
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202822#FFFFFF#000000##FFFFFF
##2028221.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282722
Deuteranopia (green-blind)
#272622
Tritanopia (blue-blind)
#1F2826
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #202822;
/* rgb */ color: rgb(32, 40, 34);
/* oklch */ color: oklch(26.7% 0.016 152.8);
Tailwind
colors: {
  custom: {
    50: '#5b615c',
    500: '#202822',
    950: '#000000',
  },
}
SCSS
$custom: #202822;
$custom-light: #5b615c;
$custom-dark: #000000;
JSON
{
  "hex": "#202822",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 135,
    "s": 11.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26685,
    "c": 0.01581,
    "h": 152.8
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#202822
secondary
#584C55
accent
#74A4B4
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040504
muted
#797979

Preview Lab

Preview with #202822

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

Preview Lab → · Contrast checker → · Palette generator →

#202822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva