#222704#222704

#222704 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 25.9% C 0.054 H 117.2°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#222704
RGBrgb(34, 39, 4)
HSLhsl(69, 81%, 8%)
HSVhsv(69, 90%, 15%)
CMYKcmyk(12.8%, 0%, 89.7%, 84.7%)
CIE-LABlab(14.40, -8.26, 19.28)
CIE-LCHlch(14.40, 20.97, 113.19°)
OKLaboklab(25.92% -0.0249 0.0483)
OKLCHoklch(25.92% 0.054 117.2)
XYZxyz(1.4072, 1.7999, 0.3881)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222704 #090427
analogous
#271A04 #222704 #102704
triadic
#222704 #042227 #270422
tetradic
#222704 #04271A #090427 #270410
square
#222704 #04271A #090427 #270410
split-complementary
#222704 #041027 #1A0427
monochromatic
#181C03 #181C03 #222704 #525F0A #83960F

Accessibility & contrast

On white

15.44
#222704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222704
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222704#FFFFFF#000000##FFFFFF
##2227041.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2401
Deuteranopia (green-blind)
#2A2506
Tritanopia (blue-blind)
#252420
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #222704;
/* rgb */ color: rgb(34, 39, 4);
/* oklch */ color: oklch(25.9% 0.054 117.2);
Tailwind
colors: {
  custom: {
    50: '#5e6148',
    500: '#222704',
    950: '#000000',
  },
}
SCSS
$custom: #222704;
$custom-light: #5e6148;
$custom-dark: #000000;
JSON
{
  "hex": "#222704",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 4
  },
  "hsl": {
    "h": 68.571,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25924,
    "c": 0.05431,
    "h": 117.2
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#222704
secondary
#281D6A
accent
#30F84D
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040500
muted
#797977

Preview Lab

Preview with #222704

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

Preview Lab → · Contrast checker → · Palette generator →

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