#FCF7BC#FCF7BC

#FCF7BC is a very light, moderate yellow. Relative luminance 0.908; OKLCH L 96.6% C 0.076 H 103.7°. Best body text is #000000 at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#FCF7BC
RGBrgb(252, 247, 188)
HSLhsl(55, 91%, 86%)
HSVhsv(55, 25%, 99%)
CMYKcmyk(0%, 2%, 25.4%, 1.2%)
CIE-LABlab(96.35, -7.34, 29.05)
CIE-LCHlch(96.35, 29.96, 104.18°)
OKLaboklab(96.59% -0.0178 0.0734)
OKLCHoklch(96.59% 0.076 103.7)
XYZxyz(82.4829, 90.8492, 60.7577)
Luminance0.9085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF7BC #BCC1FC
analogous
#FCD7BC #FCF7BC #E1FCBC
triadic
#FCF7BC #BCFCF7 #F7BCFC
tetradic
#FCF7BC #BCFCD7 #BCC1FC #FCBCE1
square
#FCF7BC #BCFCD7 #BCC1FC #FCBCE1
split-complementary
#FCF7BC #BCE1FC #D7BCFC
monochromatic
#F7E947 #F9F081 #FCF7BC #FEFCE2 #FEFCE2

Accessibility & contrast

On white

1.10
#FCF7BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.17
#FCF7BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF7BC
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF7BC#FFFFFF#000000##000000
##FCF7BC1.001.1019.1719.17
#FFFFFF1.101.0021.0021.00
#00000019.1721.001.001.00
##00000019.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3B8
Deuteranopia (green-blind)
#FFF6BE
Tritanopia (blue-blind)
#FFEFE7
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf7bc;
/* rgb */ color: rgb(252, 247, 188);
/* oklch */ color: oklch(96.6% 0.076 103.7);
Tailwind
colors: {
  custom: {
    50: '#fef9d0',
    500: '#fcf7bc',
    950: '#000000',
  },
}
SCSS
$custom: #fcf7bc;
$custom-light: #fef9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf7bc",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 188
  },
  "hsl": {
    "h": 55.312,
    "s": 91.429,
    "l": 86.275
  },
  "oklch": {
    "l": 0.96593,
    "c": 0.07552,
    "h": 103.7
  },
  "luminance": 0.90848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF7BC

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

Preview Lab → · Contrast checker → · Palette generator →

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