#FCF2BC#FCF2BC

#FCF2BC is a very light, moderate yellow. Relative luminance 0.878; OKLCH L 95.6% C 0.070 H 98.8°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#FCF2BC
RGBrgb(252, 242, 188)
HSLhsl(51, 91%, 86%)
HSVhsv(51, 25%, 99%)
CMYKcmyk(0%, 4%, 25.4%, 1.2%)
CIE-LABlab(95.09, -4.84, 27.33)
CIE-LCHlch(95.09, 27.76, 100.05°)
OKLaboklab(95.6% -0.0107 0.0692)
OKLCHoklch(95.6% 0.07 98.8)
XYZxyz(80.9743, 87.8321, 60.2549)
Luminance0.8783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF2BC #BCC6FC
analogous
#FCD2BC #FCF2BC #E6FCBC
triadic
#FCF2BC #BCFCF2 #F2BCFC
tetradic
#FCF2BC #BCFCD2 #BCC6FC #FCBCE6
square
#FCF2BC #BCFCD2 #BCC6FC #FCBCE6
split-complementary
#FCF2BC #BCE6FC #D2BCFC
monochromatic
#F7DB47 #F9E781 #FCF2BC #FEF9E2 #FEF9E2

Accessibility & contrast

On white

1.13
#FCF2BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.57
#FCF2BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF2BC
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF2BC#FFFFFF#000000##000000
##FCF2BC1.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEFB9
Deuteranopia (green-blind)
#FFF3BE
Tritanopia (blue-blind)
#FFEAE3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf2bc;
/* rgb */ color: rgb(252, 242, 188);
/* oklch */ color: oklch(95.6% 0.070 98.8);
Tailwind
colors: {
  custom: {
    50: '#fef6d0',
    500: '#fcf2bc',
    950: '#000000',
  },
}
SCSS
$custom: #fcf2bc;
$custom-light: #fef6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf2bc",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 188
  },
  "hsl": {
    "h": 50.625,
    "s": 91.429,
    "l": 86.275
  },
  "oklch": {
    "l": 0.95599,
    "c": 0.07005,
    "h": 98.8
  },
  "luminance": 0.87831
}

Semantic roles & 50–950 ramp

primary
#FCF2BC
secondary
#7A8BE2
accent
#24E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FCF2BC

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

Preview Lab → · Contrast checker → · Palette generator →

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