#222002#222002

#222002 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 23.8% C 0.048 H 105.9°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#222002
RGBrgb(34, 32, 2)
HSLhsl(56, 89%, 7%)
HSVhsv(56, 94%, 13%)
CMYKcmyk(0%, 5.9%, 94.1%, 86.7%)
CIE-LABlab(11.81, -3.85, 16.63)
CIE-LCHlch(11.81, 17.07, 103.03°)
OKLaboklab(23.84% -0.013 0.0459)
OKLCHoklch(23.84% 0.048 105.9)
XYZxyz(1.1872, 1.3775, 0.2608)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222002 #020422
analogous
#221002 #222002 #142202
triadic
#222002 #022220 #200222
tetradic
#222002 #022210 #020422 #220214
square
#222002 #022210 #020422 #220214
split-complementary
#222002 #021422 #100222
monochromatic
#1D1B02 #1D1B02 #222002 #5C5605 #968D09

Accessibility & contrast

On white

16.47
#222002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222002
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222002#FFFFFF#000000##FFFFFF
##2220021.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E00
Deuteranopia (green-blind)
#252003
Tritanopia (blue-blind)
#251D1A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #222002;
/* rgb */ color: rgb(34, 32, 2);
/* oklch */ color: oklch(23.8% 0.048 105.9);
Tailwind
colors: {
  custom: {
    50: '#5d5b47',
    500: '#222002',
    950: '#000000',
  },
}
SCSS
$custom: #222002;
$custom-light: #5d5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#222002",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 56.25,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.2384,
    "c": 0.04769,
    "h": 105.9
  },
  "luminance": 0.01377
}

Semantic roles & 50–950 ramp

primary
#222002
secondary
#181D68
accent
#36FF29
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #222002

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

Preview Lab → · Contrast checker → · Palette generator →

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