#222012#222012

#222012 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 24.1% C 0.025 H 101.1°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#222012
RGBrgb(34, 32, 18)
HSLhsl(53, 31%, 10%)
HSVhsv(53, 47%, 13%)
CMYKcmyk(0%, 5.9%, 47.1%, 86.7%)
CIE-LABlab(12.07, -1.86, 9.68)
CIE-LCHlch(12.07, 9.86, 100.89°)
OKLaboklab(24.13% -0.0048 0.0244)
OKLCHoklch(24.13% 0.025 101.1)
XYZxyz(1.2854, 1.4168, 0.7779)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222012 #121422
analogous
#221812 #222012 #1C2212
triadic
#222012 #122220 #201222
tetradic
#222012 #122218 #121422 #22121C
square
#222012 #122218 #121422 #22121C
split-complementary
#222012 #121C22 #181222
monochromatic
#14130B #14130B #222012 #4A4627 #726B3C

Accessibility & contrast

On white

16.36
#222012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#222012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222012
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222012#FFFFFF#000000##FFFFFF
##2220121.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F11
Deuteranopia (green-blind)
#232013
Tritanopia (blue-blind)
#241E1C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #222012;
/* rgb */ color: rgb(34, 32, 18);
/* oklch */ color: oklch(24.1% 0.025 101.1);
Tailwind
colors: {
  custom: {
    50: '#5d5b50',
    500: '#222012',
    950: '#000000',
  },
}
SCSS
$custom: #222012;
$custom-light: #5d5b50;
$custom-dark: #000000;
JSON
{
  "hex": "#222012",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 52.5,
    "s": 30.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.24133,
    "c": 0.02486,
    "h": 101.1
  },
  "luminance": 0.01417
}

Semantic roles & 50–950 ramp

primary
#222012
secondary
#383C57
accent
#6EC761
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #222012

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

Preview Lab → · Contrast checker → · Palette generator →

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