#18221C#18221C

#18221C is a very dark, near-neutral green. Relative luminance 0.014; OKLCH L 24.0% C 0.018 H 158.4°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#18221C
RGBrgb(24, 34, 28)
HSLhsl(144, 17%, 11%)
HSVhsv(144, 29%, 13%)
CMYKcmyk(29.4%, 0%, 17.6%, 86.7%)
CIE-LABlab(12.10, -6.07, 2.60)
CIE-LCHlch(12.10, 6.61, 156.79°)
OKLaboklab(24.01% -0.017 0.0067)
OKLCHoklch(24.01% 0.018 158.4)
XYZxyz(1.1583, 1.4220, 1.3118)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18221C #22181E
analogous
#192218 #18221C #182221
triadic
#18221C #1C1822 #221C18
tetradic
#18221C #181922 #22181E #222118
square
#18221C #181922 #22181E #222118
split-complementary
#18221C #211822 #221819
monochromatic
#0D120F #0D120F #18221C #31463A #4B6A57

Accessibility & contrast

On white

16.35
#18221C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18221C
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18221C#FFFFFF#000000##FFFFFF
##18221C1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201C
Deuteranopia (green-blind)
#201F1C
Tritanopia (blue-blind)
#162220
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #18221c;
/* rgb */ color: rgb(24, 34, 28);
/* oklch */ color: oklch(24.0% 0.018 158.4);
Tailwind
colors: {
  custom: {
    50: '#555d58',
    500: '#18221c',
    950: '#000000',
  },
}
SCSS
$custom: #18221c;
$custom-light: #555d58;
$custom-dark: #000000;
JSON
{
  "hex": "#18221c",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 144,
    "s": 17.241,
    "l": 11.373
  },
  "oklch": {
    "l": 0.24006,
    "c": 0.01828,
    "h": 158.4
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#18221C
secondary
#54424D
accent
#6E9CBA
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#030403
muted
#787978

Preview Lab

Preview with #18221C

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

Preview Lab → · Contrast checker → · Palette generator →

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