#FCF8BF#FCF8BF

#FCF8BF is a very light, moderate yellow. Relative luminance 0.916; OKLCH L 96.9% C 0.073 H 104.3°. Best body text is #000000 at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#FCF8BF
RGBrgb(252, 248, 191)
HSLhsl(56, 91%, 87%)
HSVhsv(56, 24%, 99%)
CMYKcmyk(0%, 1.6%, 24.2%, 1.2%)
CIE-LABlab(96.65, -7.44, 27.94)
CIE-LCHlch(96.65, 28.92, 104.91°)
OKLaboklab(96.85% -0.0181 0.0707)
OKLCHoklch(96.85% 0.073 104.3)
XYZxyz(83.1162, 91.5931, 62.5809)
Luminance0.9159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8BF #BFC3FC
analogous
#FCDABF #FCF8BF #E2FCBF
triadic
#FCF8BF #BFFCF8 #F8BFFC
tetradic
#FCF8BF #BFFCDA #BFC3FC #FCBFE2
square
#FCF8BF #BFFCDA #BFC3FC #FCBFE2
split-complementary
#FCF8BF #BFE2FC #DABFFC
monochromatic
#F7EB4A #F9F285 #FCF8BF #FEFCE2 #FEFCE2

Accessibility & contrast

On white

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

On black

19.32
#FCF8BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF8BF
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF8BF#FFFFFF#000000##000000
##FCF8BF1.001.0919.3219.32
#FFFFFF1.091.0021.0021.00
#00000019.3221.001.001.00
##00000019.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4BB
Deuteranopia (green-blind)
#FFF7C1
Tritanopia (blue-blind)
#FFF0E9
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fcf8bf;
/* rgb */ color: rgb(252, 248, 191);
/* oklch */ color: oklch(96.9% 0.073 104.3);
Tailwind
colors: {
  custom: {
    50: '#fefad2',
    500: '#fcf8bf',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8bf;
$custom-light: #fefad2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8bf",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 191
  },
  "hsl": {
    "h": 56.066,
    "s": 91.045,
    "l": 86.863
  },
  "oklch": {
    "l": 0.96853,
    "c": 0.07302,
    "h": 104.3
  },
  "luminance": 0.91592
}

Semantic roles & 50–950 ramp

primary
#FCF8BF
secondary
#7D84E2
accent
#0FE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FCF8BF

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

Preview Lab → · Contrast checker → · Palette generator →

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