#FCF8A8#FCF8A8

#FCF8A8 is a very light, moderate yellow. Relative luminance 0.907; OKLCH L 96.4% C 0.100 H 105.7°. Best body text is #000000 at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#FCF8A8
RGBrgb(252, 248, 168)
HSLhsl(57, 93%, 82%)
HSVhsv(57, 33%, 99%)
CMYKcmyk(0%, 1.6%, 33.3%, 1.2%)
CIE-LABlab(96.27, -10.30, 38.98)
CIE-LCHlch(96.27, 40.32, 104.81°)
OKLaboklab(96.42% -0.0271 0.0965)
OKLCHoklch(96.42% 0.1 105.7)
XYZxyz(80.7810, 90.6590, 50.2817)
Luminance0.9066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8A8 #A8ACFC
analogous
#FCCEA8 #FCF8A8 #D6FCA8
triadic
#FCF8A8 #A8FCF8 #F8A8FC
tetradic
#FCF8A8 #A8FCCE #A8ACFC #FCA8D6
square
#FCF8A8 #A8FCCE #A8ACFC #FCA8D6
split-complementary
#FCF8A8 #A8D6FC #CEA8FC
monochromatic
#F8EE32 #FAF36D #FCF8A8 #FEFDE1 #FEFDE1

Accessibility & contrast

On white

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

On black

19.13
#FCF8A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF8A8
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF8A8#FFFFFF#000000##000000
##FCF8A81.001.1019.1319.13
#FFFFFF1.101.0021.0021.00
#00000019.1321.001.001.00
##00000019.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2A2
Deuteranopia (green-blind)
#FFF6AB
Tritanopia (blue-blind)
#FFEEE4
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf8a8;
/* rgb */ color: rgb(252, 248, 168);
/* oklch */ color: oklch(96.4% 0.100 105.7);
Tailwind
colors: {
  custom: {
    50: '#fefac2',
    500: '#fcf8a8',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8a8;
$custom-light: #fefac2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8a8",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 168
  },
  "hsl": {
    "h": 57.143,
    "s": 93.333,
    "l": 82.353
  },
  "oklch": {
    "l": 0.96422,
    "c": 0.1002,
    "h": 105.7
  },
  "luminance": 0.90657
}

Semantic roles & 50–950 ramp

primary
#FCF8A8
secondary
#696EDF
accent
#0BE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FCF8A8

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

Preview Lab → · Contrast checker → · Palette generator →

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