#222820#222820

#222820 is a dark, near-neutral green. Relative luminance 0.020; OKLCH L 26.8% C 0.017 H 137.9°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#222820
RGBrgb(34, 40, 32)
HSLhsl(105, 11%, 14%)
HSVhsv(105, 20%, 16%)
CMYKcmyk(15%, 0%, 20%, 84.3%)
CIE-LABlab(15.29, -4.63, 4.39)
CIE-LCHlch(15.29, 6.38, 136.57°)
OKLaboklab(26.8% -0.0125 0.0113)
OKLCHoklch(26.8% 0.017 137.9)
XYZxyz(1.6791, 1.9619, 1.6564)
Luminance0.0196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222820 #262028
analogous
#262820 #222820 #202822
triadic
#222820 #202228 #282022
tetradic
#222820 #202628 #262028 #282220
square
#222820 #202628 #262028 #282220
split-complementary
#222820 #222028 #282026
monochromatic
#0E110E #0E110E #222820 #3F4A3B #5C6C56

Accessibility & contrast

On white

15.08
#222820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222820
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222820#FFFFFF#000000##FFFFFF
##2228201.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292720
Deuteranopia (green-blind)
#282620
Tritanopia (blue-blind)
#222726
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #222820;
/* rgb */ color: rgb(34, 40, 32);
/* oklch */ color: oklch(26.8% 0.017 137.9);
Tailwind
colors: {
  custom: {
    50: '#5d615b',
    500: '#222820',
    950: '#000000',
  },
}
SCSS
$custom: #222820;
$custom-light: #5d615b;
$custom-dark: #000000;
JSON
{
  "hex": "#222820",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 32
  },
  "hsl": {
    "h": 105,
    "s": 11.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26803,
    "c": 0.01688,
    "h": 137.9
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#222820
secondary
#554C58
accent
#74B4A4
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040504
muted
#797979

Preview Lab

Preview with #222820

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

Preview Lab → · Contrast checker → · Palette generator →

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