#202202#202202

#202202 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.2% C 0.051 H 113.0°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#202202
RGBrgb(32, 34, 2)
HSLhsl(64, 89%, 7%)
HSVhsv(64, 94%, 13%)
CMYKcmyk(5.9%, 0%, 94.1%, 86.7%)
CIE-LABlab(12.32, -6.35, 17.29)
CIE-LCHlch(12.32, 18.42, 110.15°)
OKLaboklab(24.2% -0.0199 0.0468)
OKLCHoklch(24.2% 0.051 113)
XYZxyz(1.1787, 1.4555, 0.2763)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202202 #040222
analogous
#221402 #202202 #102202
triadic
#202202 #022022 #220220
tetradic
#202202 #022214 #040222 #220210
square
#202202 #022214 #040222 #220210
split-complementary
#202202 #021022 #140222
monochromatic
#1B1D02 #1B1D02 #202202 #565C05 #8D9609

Accessibility & contrast

On white

16.26
#202202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202202
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202202#FFFFFF#000000##FFFFFF
##2022021.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252000
Deuteranopia (green-blind)
#252104
Tritanopia (blue-blind)
#231F1C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #202202;
/* rgb */ color: rgb(32, 34, 2);
/* oklch */ color: oklch(24.2% 0.051 113.0);
Tailwind
colors: {
  custom: {
    50: '#5b5c47',
    500: '#202202',
    950: '#000000',
  },
}
SCSS
$custom: #202202;
$custom-light: #5b5c47;
$custom-dark: #000000;
JSON
{
  "hex": "#202202",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 2
  },
  "hsl": {
    "h": 63.75,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.24199,
    "c": 0.05082,
    "h": 113
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#202202
secondary
#1D1868
accent
#29FF36
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #202202

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

Preview Lab → · Contrast checker → · Palette generator →

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