#18221A#18221A

#18221A is a very dark, muted green. Relative luminance 0.014; OKLCH L 23.9% C 0.021 H 150.6°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#18221A
RGBrgb(24, 34, 26)
HSLhsl(132, 17%, 11%)
HSVhsv(132, 29%, 13%)
CMYKcmyk(29.4%, 0%, 23.5%, 86.7%)
CIE-LABlab(12.04, -6.58, 3.97)
CIE-LCHlch(12.04, 7.69, 148.94°)
OKLaboklab(23.94% -0.0181 0.0102)
OKLCHoklch(23.94% 0.021 150.6)
XYZxyz(1.1351, 1.4128, 1.1900)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18221A #221820
analogous
#1B2218 #18221A #18221F
triadic
#18221A #1A1822 #221A18
tetradic
#18221A #181B22 #221820 #221F18
square
#18221A #181B22 #221820 #221F18
split-complementary
#18221A #1F1822 #22181B
monochromatic
#0D120E #0D120E #18221A #314635 #4B6A51

Accessibility & contrast

On white

16.37
#18221A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#18221A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18221A
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18221A#FFFFFF#000000##FFFFFF
##18221A1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201A
Deuteranopia (green-blind)
#201F1A
Tritanopia (blue-blind)
#172220
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #18221a;
/* rgb */ color: rgb(24, 34, 26);
/* oklch */ color: oklch(23.9% 0.021 150.6);
Tailwind
colors: {
  custom: {
    50: '#555d56',
    500: '#18221a',
    950: '#000000',
  },
}
SCSS
$custom: #18221a;
$custom-light: #555d56;
$custom-dark: #000000;
JSON
{
  "hex": "#18221a",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 26
  },
  "hsl": {
    "h": 132,
    "s": 17.241,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23937,
    "c": 0.02082,
    "h": 150.6
  },
  "luminance": 0.01413
}

Semantic roles & 50–950 ramp

primary
#18221A
secondary
#544250
accent
#6EABBA
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#030403
muted
#787978

Preview Lab

Preview with #18221A

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

Preview Lab → · Contrast checker → · Palette generator →

#18221A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva