#FCF2BF#FCF2BF

#FCF2BF is a very light, moderate yellow. Relative luminance 0.880; OKLCH L 95.7% C 0.066 H 98.2°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#FCF2BF
RGBrgb(252, 242, 191)
HSLhsl(50, 91%, 87%)
HSVhsv(50, 24%, 99%)
CMYKcmyk(0%, 4%, 24.2%, 1.2%)
CIE-LABlab(95.15, -4.44, 25.88)
CIE-LCHlch(95.15, 26.26, 99.74°)
OKLaboklab(95.66% -0.0095 0.0657)
OKLCHoklch(95.66% 0.066 98.2)
XYZxyz(81.3011, 87.9628, 61.9758)
Luminance0.8796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF2BF #BFC9FC
analogous
#FCD4BF #FCF2BF #E8FCBF
triadic
#FCF2BF #BFFCF2 #F2BFFC
tetradic
#FCF2BF #BFFCD4 #BFC9FC #FCBFE8
square
#FCF2BF #BFFCD4 #BFC9FC #FCBFE8
split-complementary
#FCF2BF #BFE8FC #D4BFFC
monochromatic
#F7DA4A #F9E685 #FCF2BF #FEF9E2 #FEF9E2

Accessibility & contrast

On white

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

On black

18.59
#FCF2BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF2BF
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF2BF#FFFFFF#000000##000000
##FCF2BF1.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEFBC
Deuteranopia (green-blind)
#FFF3C1
Tritanopia (blue-blind)
#FFEBE4
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf2bf;
/* rgb */ color: rgb(252, 242, 191);
/* oklch */ color: oklch(95.7% 0.066 98.2);
Tailwind
colors: {
  custom: {
    50: '#fef6d2',
    500: '#fcf2bf',
    950: '#000000',
  },
}
SCSS
$custom: #fcf2bf;
$custom-light: #fef6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf2bf",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 191
  },
  "hsl": {
    "h": 50.164,
    "s": 91.045,
    "l": 86.863
  },
  "oklch": {
    "l": 0.9566,
    "c": 0.06642,
    "h": 98.2
  },
  "luminance": 0.87961
}

Semantic roles & 50–950 ramp

primary
#FCF2BF
secondary
#7D8EE2
accent
#26E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FCF2BF

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

Preview Lab → · Contrast checker → · Palette generator →

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