#FCF8A7#FCF8A7

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

Color values

HEX#FCF8A7
RGBrgb(252, 248, 167)
HSLhsl(57, 93%, 82%)
HSVhsv(57, 34%, 99%)
CMYKcmyk(0%, 1.6%, 33.7%, 1.2%)
CIE-LABlab(96.25, -10.42, 39.45)
CIE-LCHlch(96.25, 40.81, 104.79°)
OKLaboklab(96.41% -0.0275 0.0975)
OKLCHoklch(96.41% 0.101 105.7)
XYZxyz(80.6882, 90.6219, 49.7930)
Luminance0.9062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8A7 #A7ABFC
analogous
#FCCDA7 #FCF8A7 #D6FCA7
triadic
#FCF8A7 #A7FCF8 #F8A7FC
tetradic
#FCF8A7 #A7FCCD #A7ABFC #FCA7D6
square
#FCF8A7 #A7FCCD #A7ABFC #FCA7D6
split-complementary
#FCF8A7 #A7D6FC #CDA7FC
monochromatic
#F8EF31 #FAF36C #FCF8A7 #FEFDE1 #FEFDE1

Accessibility & contrast

On white

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

On black

19.12
#FCF8A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF8A7
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF8A7#FFFFFF#000000##000000
##FCF8A71.001.1019.1219.12
#FFFFFF1.101.0021.0021.00
#00000019.1221.001.001.00
##00000019.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2A1
Deuteranopia (green-blind)
#FFF6AA
Tritanopia (blue-blind)
#FFEEE3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf8a7;
/* rgb */ color: rgb(252, 248, 167);
/* oklch */ color: oklch(96.4% 0.101 105.7);
Tailwind
colors: {
  custom: {
    50: '#fefac2',
    500: '#fcf8a7',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8a7;
$custom-light: #fefac2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8a7",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 167
  },
  "hsl": {
    "h": 57.176,
    "s": 93.407,
    "l": 82.157
  },
  "oklch": {
    "l": 0.96405,
    "c": 0.10134,
    "h": 105.7
  },
  "luminance": 0.9062
}

Semantic roles & 50–950 ramp

primary
#FCF8A7
secondary
#686DDF
accent
#0BE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FCF8A7

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

Preview Lab → · Contrast checker → · Palette generator →

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