#F7F2DF#F7F2DF

#F7F2DF is a very light, muted yellow. Relative luminance 0.886; OKLCH L 96.0% C 0.026 H 94.7°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#F7F2DF
RGBrgb(247, 242, 223)
HSLhsl(48, 60%, 92%)
HSVhsv(48, 10%, 97%)
CMYKcmyk(0%, 2%, 9.7%, 3.1%)
CIE-LABlab(95.42, -1.51, 9.76)
CIE-LCHlch(95.42, 9.88, 98.78°)
OKLaboklab(96% -0.0021 0.0255)
OKLCHoklch(96% 0.026 94.7)
XYZxyz(83.4277, 88.6068, 82.5055)
Luminance0.8861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F2DF #DFE4F7
analogous
#F7E6DF #F7F2DF #F0F7DF
triadic
#F7F2DF #DFF7F2 #F2DFF7
tetradic
#F7F2DF #DFF7E6 #DFE4F7 #F7DFF0
square
#F7F2DF #DFF7E6 #DFE4F7 #F7DFF0
split-complementary
#F7F2DF #DFF0F7 #E6DFF7
monochromatic
#DFCA7D #EBDEAE #F7F2DF #F9F5E7 #F9F5E7

Accessibility & contrast

On white

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

On black

18.72
#F7F2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F2DF
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F2DF#FFFFFF#000000##000000
##F7F2DF1.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f2df;
/* rgb */ color: rgb(247, 242, 223);
/* oklch */ color: oklch(96.0% 0.026 94.7);
Tailwind
colors: {
  custom: {
    50: '#faf6e9',
    500: '#f7f2df',
    950: '#000000',
  },
}
SCSS
$custom: #f7f2df;
$custom-light: #faf6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f2df",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 223
  },
  "hsl": {
    "h": 47.5,
    "s": 60,
    "l": 92.157
  },
  "oklch": {
    "l": 0.95996,
    "c": 0.0256,
    "h": 94.7
  },
  "luminance": 0.88606
}

Semantic roles & 50–950 ramp

primary
#F7F2DF
secondary
#A1ADD9
accent
#41C81E
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F7F2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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