#222706#222706

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

Color values

HEX#222706
RGBrgb(34, 39, 6)
HSLhsl(69, 73%, 9%)
HSVhsv(69, 85%, 15%)
CMYKcmyk(12.8%, 0%, 84.6%, 84.7%)
CIE-LABlab(14.42, -8.05, 18.49)
CIE-LCHlch(14.42, 20.17, 113.52°)
OKLaboklab(25.95% -0.0239 0.046)
OKLCHoklch(25.95% 0.052 117.5)
XYZxyz(1.4181, 1.8043, 0.4458)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222706 #0B0627
analogous
#271C06 #222706 #122706
triadic
#222706 #062227 #270622
tetradic
#222706 #06271C #0B0627 #270612
square
#222706 #06271C #0B0627 #270612
split-complementary
#222706 #061227 #1C0627
monochromatic
#171B04 #171B04 #222706 #505C0E #7E9116

Accessibility & contrast

On white

15.43
#222706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222706
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222706#FFFFFF#000000##FFFFFF
##2227061.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222706;
/* rgb */ color: rgb(34, 39, 6);
/* oklch */ color: oklch(26.0% 0.052 117.5);
Tailwind
colors: {
  custom: {
    50: '#5e6149',
    500: '#222706',
    950: '#000000',
  },
}
SCSS
$custom: #222706;
$custom-light: #5e6149;
$custom-dark: #000000;
JSON
{
  "hex": "#222706",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 6
  },
  "hsl": {
    "h": 69.091,
    "s": 73.333,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25952,
    "c": 0.05183,
    "h": 117.5
  },
  "luminance": 0.01804
}

Semantic roles & 50–950 ramp

primary
#222706
secondary
#2C2168
accent
#38F054
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040501
muted
#797977

Preview Lab

Preview with #222706

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

Preview Lab → · Contrast checker → · Palette generator →

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