#222402#222402

#222402 is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.0% C 0.053 H 112.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#222402
RGBrgb(34, 36, 2)
HSLhsl(64, 89%, 7%)
HSVhsv(64, 94%, 14%)
CMYKcmyk(5.6%, 0%, 94.4%, 85.9%)
CIE-LABlab(13.27, -6.53, 18.60)
CIE-LCHlch(13.27, 19.71, 109.35°)
OKLaboklab(25.01% -0.0205 0.0486)
OKLCHoklch(25.01% 0.053 112.9)
XYZxyz(1.3016, 1.6062, 0.2989)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222402 #040224
analogous
#241502 #222402 #112402
triadic
#222402 #022224 #240222
tetradic
#222402 #022415 #040224 #240211
square
#222402 #022415 #040224 #240211
split-complementary
#222402 #021124 #150224
monochromatic
#1B1D02 #1B1D02 #222402 #595E05 #909808

Accessibility & contrast

On white

15.89
#222402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#222402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222402
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222402#FFFFFF#000000##FFFFFF
##2224021.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#282204
Tritanopia (blue-blind)
#25211D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #222402;
/* rgb */ color: rgb(34, 36, 2);
/* oklch */ color: oklch(25.0% 0.053 112.9);
Tailwind
colors: {
  custom: {
    50: '#5d5e47',
    500: '#222402',
    950: '#000000',
  },
}
SCSS
$custom: #222402;
$custom-light: #5d5e47;
$custom-dark: #000000;
JSON
{
  "hex": "#222402",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 2
  },
  "hsl": {
    "h": 63.529,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.25008,
    "c": 0.05276,
    "h": 112.9
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#222402
secondary
#1D186A
accent
#29FF35
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #222402

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

Preview Lab → · Contrast checker → · Palette generator →

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