#F2F2F2#F2F2F2

#F2F2F2 is a very light, near-neutral grey. Relative luminance 0.888; OKLCH L 96.1% C 0.000 H 0.0°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#F2F2F2
RGBrgb(242, 242, 242)
HSLhsl(0, 0%, 95%)
HSVhsv(0, 0%, 95%)
CMYKcmyk(0%, 0%, 0%, 5.1%)
CIE-LABlab(95.49, 0.00, 0.00)
CIE-LCHlch(95.49, 0.00, 180.00°)
OKLaboklab(96.12% 0 0)
OKLCHoklch(96.12% 0 0)
XYZxyz(84.3944, 88.7923, 96.6797)
Luminance0.8879 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2F2 #F2F2F2
analogous
#F2F2F2 #F2F2F2 #F2F2F2
triadic
#F2F2F2 #F2F2F2 #F2F2F2
tetradic
#F2F2F2 #F2F2F2 #F2F2F2 #F2F2F2
square
#F2F2F2 #F2F2F2 #F2F2F2 #F2F2F2
split-complementary
#F2F2F2 #F2F2F2 #F2F2F2
monochromatic
#B5B5B5 #D3D3D3 #F0F0F0 #F0F0F0 #F0F0F0

Accessibility & contrast

On white

1.12
#F2F2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.76
#F2F2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2F2
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2F2#FFFFFF#000000##000000
##F2F2F21.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2F2F2
Deuteranopia (green-blind)
#F2F2F2
Tritanopia (blue-blind)
#F2F2F2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2f2f2;
/* rgb */ color: rgb(242, 242, 242);
/* oklch */ color: oklch(96.1% 0.000 0.0);
Tailwind
colors: {
  custom: {
    50: '#f6f6f6',
    500: '#f2f2f2',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2f2;
$custom-light: #f6f6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2f2",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 242
  },
  "hsl": {
    "h": 0,
    "s": 0,
    "l": 94.902
  },
  "oklch": {
    "l": 0.96115,
    "c": 0,
    "h": 0
  },
  "luminance": 0.88792
}

Semantic roles & 50–950 ramp

primary
#F2F2F2
secondary
#C4C4C4
accent
#8A8A5C
background
#FFFFFF
surface
#FEFEFE
border
#D6D6D6
text
#171717
muted
#858585

Preview Lab

Preview with #F2F2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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