#222017#222017

#222017 is a very dark, near-neutral yellow. Relative luminance 0.014; OKLCH L 24.3% C 0.017 H 97.0°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#222017
RGBrgb(34, 32, 23)
HSLhsl(49, 19%, 11%)
HSVhsv(49, 32%, 13%)
CMYKcmyk(0%, 5.9%, 32.4%, 86.7%)
CIE-LABlab(12.19, -0.99, 6.48)
CIE-LCHlch(12.19, 6.55, 98.68°)
OKLaboklab(24.27% -0.002 0.0165)
OKLCHoklch(24.27% 0.017 97)
XYZxyz(1.3309, 1.4350, 1.0173)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222017 #171922
analogous
#221A17 #222017 #1E2217
triadic
#222017 #172220 #201722
tetradic
#222017 #17221A #171922 #22171E
square
#222017 #17221A #171922 #22171E
split-complementary
#222017 #171E22 #1A1722
monochromatic
#12110C #12110C #222017 #474230 #6B6548

Accessibility & contrast

On white

16.32
#222017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#222017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222017
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222017#FFFFFF#000000##FFFFFF
##2220171.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221F16
Deuteranopia (green-blind)
#222017
Tritanopia (blue-blind)
#241F1E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #222017;
/* rgb */ color: rgb(34, 32, 23);
/* oklch */ color: oklch(24.3% 0.017 97.0);
Tailwind
colors: {
  custom: {
    50: '#5d5b53',
    500: '#222017',
    950: '#000000',
  },
}
SCSS
$custom: #222017;
$custom-light: #5d5b53;
$custom-dark: #000000;
JSON
{
  "hex": "#222017",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 49.091,
    "s": 19.298,
    "l": 11.176
  },
  "oklch": {
    "l": 0.24266,
    "c": 0.01658,
    "h": 97
  },
  "luminance": 0.01435
}

Semantic roles & 50–950 ramp

primary
#222017
secondary
#404454
accent
#7ABC6C
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #222017

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

Preview Lab → · Contrast checker → · Palette generator →

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