#FFF7CF#FFF7CF

#FFF7CF is a very light, muted yellow. Relative luminance 0.923; OKLCH L 97.2% C 0.052 H 97.9°. Best body text is #000000 at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#FFF7CF
RGBrgb(255, 247, 207)
HSLhsl(50, 100%, 91%)
HSVhsv(50, 19%, 100%)
CMYKcmyk(0%, 3.1%, 18.8%, 0%)
CIE-LABlab(96.94, -3.64, 20.22)
CIE-LCHlch(96.94, 20.55, 100.21°)
OKLaboklab(97.23% -0.0072 0.0519)
OKLCHoklch(97.23% 0.052 97.9)
XYZxyz(85.7628, 92.2878, 72.3148)
Luminance0.9229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF7CF #CFD7FF
analogous
#FFDFCF #FFF7CF #EFFFCF
triadic
#FFF7CF #CFFFF7 #F7CFFF
tetradic
#FFF7CF #CFFFDF #CFD7FF #FFCFEF
square
#FFF7CF #CFFFDF #CFD7FF #FFCFEF
split-complementary
#FFF7CF #CFEFFF #DFCFFF
monochromatic
#FFE355 #FFED92 #FFF7CF #FFFAE0 #FFFAE0

Accessibility & contrast

On white

1.08
#FFF7CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.46
#FFF7CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF7CF
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF7CF#FFFFFF#000000##000000
##FFF7CF1.001.0819.4619.46
#FFFFFF1.081.0021.0021.00
#00000019.4621.001.001.00
##00000019.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4CD
Deuteranopia (green-blind)
#FFF8D0
Tritanopia (blue-blind)
#FFF1EC
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fff7cf;
/* rgb */ color: rgb(255, 247, 207);
/* oklch */ color: oklch(97.2% 0.052 97.9);
Tailwind
colors: {
  custom: {
    50: '#fff9dd',
    500: '#fff7cf',
    950: '#000000',
  },
}
SCSS
$custom: #fff7cf;
$custom-light: #fff9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#fff7cf",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 207
  },
  "hsl": {
    "h": 50,
    "s": 100,
    "l": 90.588
  },
  "oklch": {
    "l": 0.97233,
    "c": 0.05244,
    "h": 97.9
  },
  "luminance": 0.92287
}

Semantic roles & 50–950 ramp

primary
#FFF7CF
secondary
#8898EA
accent
#26E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181715
muted
#868584

Preview Lab

Preview with #FFF7CF

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

Preview Lab → · Contrast checker → · Palette generator →

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