#222707#222707

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

Color values

HEX#222707
RGBrgb(34, 39, 7)
HSLhsl(69, 70%, 9%)
HSVhsv(69, 82%, 15%)
CMYKcmyk(12.8%, 0%, 82.1%, 84.7%)
CIE-LABlab(14.44, -7.94, 18.10)
CIE-LCHlch(14.44, 19.77, 113.70°)
OKLaboklab(25.97% -0.0235 0.0449)
OKLCHoklch(25.97% 0.051 117.6)
XYZxyz(1.4236, 1.8065, 0.4747)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222707 #0C0727
analogous
#271C07 #222707 #122707
triadic
#222707 #072227 #270722
tetradic
#222707 #07271C #0C0727 #270712
square
#222707 #07271C #0C0727 #270712
split-complementary
#222707 #071227 #1C0727
monochromatic
#171A05 #171A05 #222707 #4F5B10 #7C8F1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##222707#FFFFFF#000000##FFFFFF
##2227071.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)
#2A2404
Deuteranopia (green-blind)
#2A2509
Tritanopia (blue-blind)
#252420
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #222707;
/* rgb */ color: rgb(34, 39, 7);
/* oklch */ color: oklch(26.0% 0.051 117.6);
Tailwind
colors: {
  custom: {
    50: '#5e614a',
    500: '#222707',
    950: '#000000',
  },
}
SCSS
$custom: #222707;
$custom-light: #5e614a;
$custom-dark: #000000;
JSON
{
  "hex": "#222707",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 7
  },
  "hsl": {
    "h": 69.375,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.25966,
    "c": 0.05062,
    "h": 117.6
  },
  "luminance": 0.01806
}

Semantic roles & 50–950 ramp

primary
#222707
secondary
#2E2366
accent
#3BEC57
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040501
muted
#797977

Preview Lab

Preview with #222707

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

Preview Lab → · Contrast checker → · Palette generator →

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