#F2F2DC#F2F2DC

#F2F2DC is a very light, muted yellow. Relative luminance 0.875; OKLCH L 95.5% C 0.029 H 106.9°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#F2F2DC
RGBrgb(242, 242, 220)
HSLhsl(60, 46%, 91%)
HSVhsv(60, 9%, 95%)
CMYKcmyk(0%, 0%, 9.1%, 5.1%)
CIE-LABlab(94.97, -3.72, 10.62)
CIE-LCHlch(94.97, 11.26, 109.30°)
OKLaboklab(95.53% -0.0084 0.0277)
OKLCHoklch(95.53% 0.029 106.9)
XYZxyz(81.2868, 87.5493, 80.3127)
Luminance0.8755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2DC #DCDCF2
analogous
#F2E7DC #F2F2DC #E7F2DC
triadic
#F2F2DC #DCF2F2 #F2DCF2
tetradic
#F2F2DC #DCF2E7 #DCDCF2 #F2DCE7
square
#F2F2DC #DCF2E7 #DCDCF2 #F2DCE7
split-complementary
#F2F2DC #DCE7F2 #E7DCF2
monochromatic
#D1D183 #E1E1AF #F2F2DC #F7F7E9 #F7F7E9

Accessibility & contrast

On white

1.13
#F2F2DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.51
#F2F2DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2DC
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2DC#FFFFFF#000000##000000
##F2F2DC1.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6F0DB
Deuteranopia (green-blind)
#F7F1DD
Tritanopia (blue-blind)
#F6EFEC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f2dc;
/* rgb */ color: rgb(242, 242, 220);
/* oklch */ color: oklch(95.5% 0.029 106.9);
Tailwind
colors: {
  custom: {
    50: '#f6f6e6',
    500: '#f2f2dc',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2dc;
$custom-light: #f6f6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2dc",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 220
  },
  "hsl": {
    "h": 60,
    "s": 45.833,
    "l": 90.588
  },
  "oklch": {
    "l": 0.95531,
    "c": 0.02895,
    "h": 106.9
  },
  "luminance": 0.87549
}

Semantic roles & 50–950 ramp

primary
#F2F2DC
secondary
#A3A3D0
accent
#2CB92C
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F2F2DC

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

Preview Lab → · Contrast checker → · Palette generator →

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