#222705#222705

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

Color values

HEX#222705
RGBrgb(34, 39, 5)
HSLhsl(69, 77%, 9%)
HSVhsv(69, 87%, 15%)
CMYKcmyk(12.8%, 0%, 87.2%, 84.7%)
CIE-LABlab(14.41, -8.16, 18.88)
CIE-LCHlch(14.41, 20.57, 113.36°)
OKLaboklab(25.94% -0.0244 0.0471)
OKLCHoklch(25.94% 0.053 117.4)
XYZxyz(1.4126, 1.8021, 0.4170)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222705 #0A0527
analogous
#271B05 #222705 #112705
triadic
#222705 #052227 #270522
tetradic
#222705 #05271B #0A0527 #270511
square
#222705 #05271B #0A0527 #270511
split-complementary
#222705 #051127 #1B0527
monochromatic
#181B03 #181B03 #222705 #515D0C #819313

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##222705#FFFFFF#000000##FFFFFF
##2227051.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)
#2A2402
Deuteranopia (green-blind)
#2A2507
Tritanopia (blue-blind)
#252420
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #222705;
/* rgb */ color: rgb(34, 39, 5);
/* oklch */ color: oklch(25.9% 0.053 117.4);
Tailwind
colors: {
  custom: {
    50: '#5e6149',
    500: '#222705',
    950: '#000000',
  },
}
SCSS
$custom: #222705;
$custom-light: #5e6149;
$custom-dark: #000000;
JSON
{
  "hex": "#222705",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 5
  },
  "hsl": {
    "h": 68.824,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25938,
    "c": 0.05306,
    "h": 117.4
  },
  "luminance": 0.01802
}

Semantic roles & 50–950 ramp

primary
#222705
secondary
#2A1F69
accent
#34F450
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040500
muted
#797977

Preview Lab

Preview with #222705

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

Preview Lab → · Contrast checker → · Palette generator →

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