#222408#222408

#222408 is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.1% C 0.045 H 113.0°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#222408
RGBrgb(34, 36, 8)
HSLhsl(64, 64%, 9%)
HSVhsv(64, 78%, 14%)
CMYKcmyk(5.6%, 0%, 77.8%, 85.9%)
CIE-LABlab(13.35, -5.88, 16.26)
CIE-LCHlch(13.35, 17.29, 109.88°)
OKLaboklab(25.1% -0.0175 0.0413)
OKLCHoklch(25.1% 0.045 113)
XYZxyz(1.3344, 1.6194, 0.4720)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222408 #0A0824
analogous
#241808 #222408 #142408
triadic
#222408 #082224 #240822
tetradic
#222408 #082418 #0A0824 #240814
square
#222408 #082418 #0A0824 #240814
split-complementary
#222408 #081424 #180824
monochromatic
#181906 #181906 #222408 #515613 #81881E

Accessibility & contrast

On white

15.86
#222408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222408
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222408#FFFFFF#000000##FFFFFF
##2224081.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272205
Deuteranopia (green-blind)
#27230A
Tritanopia (blue-blind)
#25211E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #222408;
/* rgb */ color: rgb(34, 36, 8);
/* oklch */ color: oklch(25.1% 0.045 113.0);
Tailwind
colors: {
  custom: {
    50: '#5d5e4a',
    500: '#222408',
    950: '#000000',
  },
}
SCSS
$custom: #222408;
$custom-light: #5d5e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#222408",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 8
  },
  "hsl": {
    "h": 64.286,
    "s": 63.636,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25097,
    "c": 0.04481,
    "h": 113
  },
  "luminance": 0.01619
}

Semantic roles & 50–950 ramp

primary
#222408
secondary
#2A2662
accent
#41E74D
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #222408

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

Preview Lab → · Contrast checker → · Palette generator →

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