#FCF7E2#FCF7E2

#FCF7E2 is a very light, muted yellow. Relative luminance 0.927; OKLCH L 97.4% C 0.028 H 95.9°. Best body text is #000000 at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#FCF7E2
RGBrgb(252, 247, 226)
HSLhsl(48, 81%, 94%)
HSVhsv(48, 10%, 99%)
CMYKcmyk(0%, 2%, 10.3%, 1.2%)
CIE-LABlab(97.11, -1.82, 10.69)
CIE-LCHlch(97.11, 10.84, 99.68°)
OKLaboklab(97.45% -0.0029 0.0279)
OKLCHoklch(97.45% 0.028 95.9)
XYZxyz(87.1316, 92.7087, 85.2412)
Luminance0.9271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF7E2 #E2E7FC
analogous
#FCEAE2 #FCF7E2 #F4FCE2
triadic
#FCF7E2 #E2FCF7 #F7E2FC
tetradic
#FCF7E2 #E2FCEA #E2E7FC #FCE2F4
square
#FCF7E2 #E2FCEA #E2E7FC #FCE2F4
split-complementary
#FCF7E2 #E2F4FC #EAE2FC
monochromatic
#F1D873 #F6E8AB #FCF7E2 #FCF7E3 #FCF7E3

Accessibility & contrast

On white

1.07
#FCF7E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.54
#FCF7E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF7E2
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF7E2#FFFFFF#000000##000000
##FCF7E21.001.0719.5419.54
#FFFFFF1.071.0021.0021.00
#00000019.5421.001.001.00
##00000019.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF6E1
Deuteranopia (green-blind)
#FDF7E3
Tritanopia (blue-blind)
#FFF4F1
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fcf7e2;
/* rgb */ color: rgb(252, 247, 226);
/* oklch */ color: oklch(97.4% 0.028 95.9);
Tailwind
colors: {
  custom: {
    50: '#fdf9eb',
    500: '#fcf7e2',
    950: '#000000',
  },
}
SCSS
$custom: #fcf7e2;
$custom-light: #fdf9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf7e2",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 226
  },
  "hsl": {
    "h": 48.462,
    "s": 81.25,
    "l": 93.725
  },
  "oklch": {
    "l": 0.97445,
    "c": 0.02804,
    "h": 95.9
  },
  "luminance": 0.92708
}

Semantic roles & 50–950 ramp

primary
#FCF7E2
secondary
#9EABE4
accent
#31DE08
background
#FFFFFE
surface
#FFFFFD
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FCF7E2

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

Preview Lab → · Contrast checker → · Palette generator →

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