#F2F1DF#F2F1DF

#F2F1DF is a very light, muted yellow. Relative luminance 0.871; OKLCH L 95.4% C 0.024 H 104.2°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#F2F1DF
RGBrgb(242, 241, 223)
HSLhsl(57, 42%, 91%)
HSVhsv(57, 8%, 95%)
CMYKcmyk(0%, 0.4%, 7.9%, 5.1%)
CIE-LABlab(94.79, -2.73, 8.81)
CIE-LCHlch(94.79, 9.22, 107.20°)
OKLaboklab(95.41% -0.0058 0.023)
OKLCHoklch(95.41% 0.024 104.2)
XYZxyz(81.3908, 87.1160, 82.3250)
Luminance0.8712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F1DF #DFE0F2
analogous
#F2E7DF #F2F1DF #E9F2DF
triadic
#F2F1DF #DFF2F1 #F1DFF2
tetradic
#F2F1DF #DFF2E7 #DFE0F2 #F2DFE9
square
#F2F1DF #DFF2E7 #DFE0F2 #F2DFE9
split-complementary
#F2F1DF #DFE9F2 #E7DFF2
monochromatic
#CFCB88 #E0DEB3 #F2F1DF #F6F5E9 #F6F5E9

Accessibility & contrast

On white

1.14
#F2F1DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#F2F1DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F1DF
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F1DF#FFFFFF#000000##000000
##F2F1DF1.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5EFDE
Deuteranopia (green-blind)
#F5F0E0
Tritanopia (blue-blind)
#F5EEEC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f1df;
/* rgb */ color: rgb(242, 241, 223);
/* oklch */ color: oklch(95.4% 0.024 104.2);
Tailwind
colors: {
  custom: {
    50: '#f6f5e9',
    500: '#f2f1df',
    950: '#000000',
  },
}
SCSS
$custom: #f2f1df;
$custom-light: #f6f5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f1df",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 223
  },
  "hsl": {
    "h": 56.842,
    "s": 42.222,
    "l": 91.176
  },
  "oklch": {
    "l": 0.95409,
    "c": 0.02377,
    "h": 104.2
  },
  "luminance": 0.87116
}

Semantic roles & 50–950 ramp

primary
#F2F1DF
secondary
#A6A9CF
accent
#37B530
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F2F1DF

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

Preview Lab → · Contrast checker → · Palette generator →

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