#222701#222701

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

Color values

HEX#222701
RGBrgb(34, 39, 1)
HSLhsl(68, 95%, 8%)
HSVhsv(68, 97%, 15%)
CMYKcmyk(12.8%, 0%, 97.4%, 84.7%)
CIE-LABlab(14.36, -8.58, 20.45)
CIE-LCHlch(14.36, 22.18, 112.76°)
OKLaboklab(25.88% -0.0264 0.0519)
OKLCHoklch(25.88% 0.058 116.9)
XYZxyz(1.3907, 1.7933, 0.3016)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222701 #060127
analogous
#271901 #222701 #0F2701
triadic
#222701 #012227 #270122
tetradic
#222701 #012719 #060127 #27010F
square
#222701 #012719 #060127 #27010F
split-complementary
#222701 #010F27 #190127
monochromatic
#1A1E01 #1A1E01 #222701 #566303 #8A9E04

Accessibility & contrast

On white

15.46
#222701 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222701
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222701#FFFFFF#000000##FFFFFF
##2227011.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222701;
/* rgb */ color: rgb(34, 39, 1);
/* oklch */ color: oklch(25.9% 0.058 116.9);
Tailwind
colors: {
  custom: {
    50: '#5e6147',
    500: '#222701',
    950: '#000000',
  },
}
SCSS
$custom: #222701;
$custom-light: #5e6147;
$custom-dark: #000000;
JSON
{
  "hex": "#222701",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 1
  },
  "hsl": {
    "h": 67.895,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.25883,
    "c": 0.05821,
    "h": 116.9
  },
  "luminance": 0.01793
}

Semantic roles & 50–950 ramp

primary
#222701
secondary
#22166E
accent
#29FF45
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040500
muted
#797977

Preview Lab

Preview with #222701

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

Preview Lab → · Contrast checker → · Palette generator →

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