#222708#222708

#222708 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.0% C 0.049 H 117.7°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#222708
RGBrgb(34, 39, 8)
HSLhsl(70, 66%, 9%)
HSVhsv(70, 79%, 15%)
CMYKcmyk(12.8%, 0%, 79.5%, 84.7%)
CIE-LABlab(14.45, -7.84, 17.71)
CIE-LCHlch(14.45, 19.37, 113.88°)
OKLaboklab(25.98% -0.023 0.0438)
OKLCHoklch(25.98% 0.049 117.7)
XYZxyz(1.4291, 1.8087, 0.5035)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222708 #0D0827
analogous
#271D08 #222708 #132708
triadic
#222708 #082227 #270822
tetradic
#222708 #08271D #0D0827 #270813
square
#222708 #08271D #0D0827 #270813
split-complementary
#222708 #081327 #1D0827
monochromatic
#161905 #161905 #222708 #4E5A12 #7B8D1D

Accessibility & contrast

On white

15.42
#222708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#222708 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222708
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222708#FFFFFF#000000##FFFFFF
##2227081.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2405
Deuteranopia (green-blind)
#2A250A
Tritanopia (blue-blind)
#252421
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #222708;
/* rgb */ color: rgb(34, 39, 8);
/* oklch */ color: oklch(26.0% 0.049 117.7);
Tailwind
colors: {
  custom: {
    50: '#5e614a',
    500: '#222708',
    950: '#000000',
  },
}
SCSS
$custom: #222708;
$custom-light: #5e614a;
$custom-dark: #000000;
JSON
{
  "hex": "#222708",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 8
  },
  "hsl": {
    "h": 69.677,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2598,
    "c": 0.04944,
    "h": 117.7
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#222708
secondary
#302565
accent
#3FE95A
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040501
muted
#797977

Preview Lab

Preview with #222708

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

Preview Lab → · Contrast checker → · Palette generator →

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