#F2F0DC#F2F0DC

#F2F0DC is a very light, muted yellow. Relative luminance 0.864; OKLCH L 95.1% C 0.026 H 102.2°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#F2F0DC
RGBrgb(242, 240, 220)
HSLhsl(55, 46%, 91%)
HSVhsv(55, 9%, 95%)
CMYKcmyk(0%, 0.8%, 9.1%, 5.1%)
CIE-LABlab(94.47, -2.71, 9.91)
CIE-LCHlch(94.47, 10.27, 105.29°)
OKLaboklab(95.14% -0.0056 0.0259)
OKLCHoklch(95.14% 0.026 102.2)
XYZxyz(80.6948, 86.3652, 80.1153)
Luminance0.8637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F0DC #DCDEF2
analogous
#F2E5DC #F2F0DC #E9F2DC
triadic
#F2F0DC #DCF2F0 #F0DCF2
tetradic
#F2F0DC #DCF2E5 #DCDEF2 #F2DCE9
square
#F2F0DC #DCF2E5 #DCDEF2 #F2DCE9
split-complementary
#F2F0DC #DCE9F2 #E5DCF2
monochromatic
#D1CA83 #E1DDAF #F2F0DC #F7F5E9 #F7F5E9

Accessibility & contrast

On white

1.15
#F2F0DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#F2F0DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F0DC
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F0DC#FFFFFF#000000##000000
##F2F0DC1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4EEDB
Deuteranopia (green-blind)
#F5F0DD
Tritanopia (blue-blind)
#F6EDEA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f0dc;
/* rgb */ color: rgb(242, 240, 220);
/* oklch */ color: oklch(95.1% 0.026 102.2);
Tailwind
colors: {
  custom: {
    50: '#f6f4e6',
    500: '#f2f0dc',
    950: '#000000',
  },
}
SCSS
$custom: #f2f0dc;
$custom-light: #f6f4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f0dc",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 220
  },
  "hsl": {
    "h": 54.545,
    "s": 45.833,
    "l": 90.588
  },
  "oklch": {
    "l": 0.95135,
    "c": 0.02646,
    "h": 102.2
  },
  "luminance": 0.86365
}

Semantic roles & 50–950 ramp

primary
#F2F0DC
secondary
#A3A7D0
accent
#39B92C
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F2F0DC

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

Preview Lab → · Contrast checker → · Palette generator →

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