#FCF7BF#FCF7BF

#FCF7BF is a very light, moderate yellow. Relative luminance 0.910; OKLCH L 96.7% C 0.072 H 103.4°. Best body text is #000000 at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#FCF7BF
RGBrgb(252, 247, 191)
HSLhsl(55, 91%, 87%)
HSVhsv(55, 24%, 99%)
CMYKcmyk(0%, 2%, 24.2%, 1.2%)
CIE-LABlab(96.40, -6.94, 27.60)
CIE-LCHlch(96.40, 28.46, 104.12°)
OKLaboklab(96.65% -0.0167 0.0699)
OKLCHoklch(96.65% 0.072 103.4)
XYZxyz(82.8096, 90.9799, 62.4786)
Luminance0.9098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF7BF #BFC4FC
analogous
#FCD9BF #FCF7BF #E3FCBF
triadic
#FCF7BF #BFFCF7 #F7BFFC
tetradic
#FCF7BF #BFFCD9 #BFC4FC #FCBFE3
square
#FCF7BF #BFFCD9 #BFC4FC #FCBFE3
split-complementary
#FCF7BF #BFE3FC #D9BFFC
monochromatic
#F7E84A #F9F085 #FCF7BF #FEFBE2 #FEFBE2

Accessibility & contrast

On white

1.09
#FCF7BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.20
#FCF7BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF7BF
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF7BF#FFFFFF#000000##000000
##FCF7BF1.001.0919.2019.20
#FFFFFF1.091.0021.0021.00
#00000019.2021.001.001.00
##00000019.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3BB
Deuteranopia (green-blind)
#FFF6C1
Tritanopia (blue-blind)
#FFEFE8
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fcf7bf;
/* rgb */ color: rgb(252, 247, 191);
/* oklch */ color: oklch(96.7% 0.072 103.4);
Tailwind
colors: {
  custom: {
    50: '#fef9d2',
    500: '#fcf7bf',
    950: '#000000',
  },
}
SCSS
$custom: #fcf7bf;
$custom-light: #fef9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf7bf",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 191
  },
  "hsl": {
    "h": 55.082,
    "s": 91.045,
    "l": 86.863
  },
  "oklch": {
    "l": 0.96653,
    "c": 0.07188,
    "h": 103.4
  },
  "luminance": 0.90979
}

Semantic roles & 50–950 ramp

primary
#FCF7BF
secondary
#7D85E2
accent
#13E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FCF7BF

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

Preview Lab → · Contrast checker → · Palette generator →

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