#FCF7BD#FCF7BD

#FCF7BD is a very light, moderate yellow. Relative luminance 0.909; OKLCH L 96.6% C 0.074 H 103.6°. Best body text is #000000 at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#FCF7BD
RGBrgb(252, 247, 189)
HSLhsl(55, 91%, 86%)
HSVhsv(55, 25%, 99%)
CMYKcmyk(0%, 2%, 25%, 1.2%)
CIE-LABlab(96.37, -7.21, 28.57)
CIE-LCHlch(96.37, 29.46, 104.16°)
OKLaboklab(96.61% -0.0174 0.0722)
OKLCHoklch(96.61% 0.074 103.6)
XYZxyz(82.5910, 90.8925, 61.3274)
Luminance0.9089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF7BD #BDC2FC
analogous
#FCD8BD #FCF7BD #E2FCBD
triadic
#FCF7BD #BDFCF7 #F7BDFC
tetradic
#FCF7BD #BDFCD8 #BDC2FC #FCBDE2
square
#FCF7BD #BDFCD8 #BDC2FC #FCBDE2
split-complementary
#FCF7BD #BDE2FC #D8BDFC
monochromatic
#F7E948 #F9F082 #FCF7BD #FEFBE2 #FEFBE2

Accessibility & contrast

On white

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

On black

19.18
#FCF7BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF7BD
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF7BD#FFFFFF#000000##000000
##FCF7BD1.001.0919.1819.18
#FFFFFF1.091.0021.0021.00
#00000019.1821.001.001.00
##00000019.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3B9
Deuteranopia (green-blind)
#FFF6BF
Tritanopia (blue-blind)
#FFEFE7
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fcf7bd;
/* rgb */ color: rgb(252, 247, 189);
/* oklch */ color: oklch(96.6% 0.074 103.6);
Tailwind
colors: {
  custom: {
    50: '#fef9d1',
    500: '#fcf7bd',
    950: '#000000',
  },
}
SCSS
$custom: #fcf7bd;
$custom-light: #fef9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf7bd",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 189
  },
  "hsl": {
    "h": 55.238,
    "s": 91.304,
    "l": 86.471
  },
  "oklch": {
    "l": 0.96613,
    "c": 0.07431,
    "h": 103.6
  },
  "luminance": 0.90891
}

Semantic roles & 50–950 ramp

primary
#FCF7BD
secondary
#7B83E2
accent
#12E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FCF7BD

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

Preview Lab → · Contrast checker → · Palette generator →

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