#222018#222018

#222018 is a very dark, near-neutral yellow. Relative luminance 0.014; OKLCH L 24.3% C 0.015 H 95.6°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#222018
RGBrgb(34, 32, 24)
HSLhsl(48, 17%, 11%)
HSVhsv(48, 29%, 13%)
CMYKcmyk(0%, 5.9%, 29.4%, 86.7%)
CIE-LABlab(12.22, -0.80, 5.79)
CIE-LCHlch(12.22, 5.85, 97.83°)
OKLaboklab(24.3% -0.0015 0.0148)
OKLCHoklch(24.3% 0.015 95.6)
XYZxyz(1.3411, 1.4391, 1.0711)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222018 #181A22
analogous
#221B18 #222018 #1F2218
triadic
#222018 #182220 #201822
tetradic
#222018 #18221B #181A22 #22181F
square
#222018 #18221B #181A22 #22181F
split-complementary
#222018 #181F22 #1B1822
monochromatic
#12110D #12110D #222018 #464231 #6A644B

Accessibility & contrast

On white

16.31
#222018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#222018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222018
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222018#FFFFFF#000000##FFFFFF
##2220181.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222018
Deuteranopia (green-blind)
#222018
Tritanopia (blue-blind)
#241F1E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #222018;
/* rgb */ color: rgb(34, 32, 24);
/* oklch */ color: oklch(24.3% 0.015 95.6);
Tailwind
colors: {
  custom: {
    50: '#5d5b54',
    500: '#222018',
    950: '#000000',
  },
}
SCSS
$custom: #222018;
$custom-light: #5d5b54;
$custom-dark: #000000;
JSON
{
  "hex": "#222018",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 48,
    "s": 17.241,
    "l": 11.373
  },
  "oklch": {
    "l": 0.24296,
    "c": 0.01487,
    "h": 95.6
  },
  "luminance": 0.01439
}

Semantic roles & 50–950 ramp

primary
#222018
secondary
#424554
accent
#7DBA6E
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #222018

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

Preview Lab → · Contrast checker → · Palette generator →

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