#F2F0DD#F2F0DD

#F2F0DD is a very light, muted yellow. Relative luminance 0.864; OKLCH L 95.2% C 0.025 H 102.0°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#F2F0DD
RGBrgb(242, 240, 221)
HSLhsl(54, 45%, 91%)
HSVhsv(54, 9%, 95%)
CMYKcmyk(0%, 0.8%, 8.7%, 5.1%)
CIE-LABlab(94.49, -2.55, 9.42)
CIE-LCHlch(94.49, 9.76, 105.13°)
OKLaboklab(95.16% -0.0052 0.0246)
OKLCHoklch(95.16% 0.025 102)
XYZxyz(80.8276, 86.4184, 80.8149)
Luminance0.8642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F0DD #DDDFF2
analogous
#F2E5DD #F2F0DD #E9F2DD
triadic
#F2F0DD #DDF2F0 #F0DDF2
tetradic
#F2F0DD #DDF2E5 #DDDFF2 #F2DDE9
square
#F2F0DD #DDF2E5 #DDDFF2 #F2DDE9
split-complementary
#F2F0DD #DDE9F2 #E5DDF2
monochromatic
#D0C984 #E1DCB1 #F2F0DD #F7F5E9 #F7F5E9

Accessibility & contrast

On white

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

On black

18.28
#F2F0DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F0DD
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F0DD#FFFFFF#000000##000000
##F2F0DD1.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f0dd;
/* rgb */ color: rgb(242, 240, 221);
/* oklch */ color: oklch(95.2% 0.025 102.0);
Tailwind
colors: {
  custom: {
    50: '#f6f4e7',
    500: '#f2f0dd',
    950: '#000000',
  },
}
SCSS
$custom: #f2f0dd;
$custom-light: #f6f4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f0dd",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 221
  },
  "hsl": {
    "h": 54.286,
    "s": 44.681,
    "l": 90.784
  },
  "oklch": {
    "l": 0.9516,
    "c": 0.02516,
    "h": 102
  },
  "luminance": 0.86418
}

Semantic roles & 50–950 ramp

primary
#F2F0DD
secondary
#A4A8CF
accent
#3BB82E
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F2F0DD

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

Preview Lab → · Contrast checker → · Palette generator →

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