#FCF8A4#FCF8A4

#FCF8A4 is a very light, moderate yellow. Relative luminance 0.905; OKLCH L 96.4% C 0.105 H 105.9°. Best body text is #000000 at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#FCF8A4
RGBrgb(252, 248, 164)
HSLhsl(57, 94%, 82%)
HSVhsv(57, 35%, 99%)
CMYKcmyk(0%, 1.6%, 34.9%, 1.2%)
CIE-LABlab(96.21, -10.76, 40.88)
CIE-LCHlch(96.21, 42.27, 104.75°)
OKLaboklab(96.35% -0.0286 0.1007)
OKLCHoklch(96.35% 0.105 105.9)
XYZxyz(80.4141, 90.5123, 48.3493)
Luminance0.9051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8A4 #A4A8FC
analogous
#FCCCA4 #FCF8A4 #D4FCA4
triadic
#FCF8A4 #A4FCF8 #F8A4FC
tetradic
#FCF8A4 #A4FCCC #A4A8FC #FCA4D4
square
#FCF8A4 #A4FCCC #A4A8FC #FCA4D4
split-complementary
#FCF8A4 #A4D4FC #CCA4FC
monochromatic
#F8EF2E #FAF369 #FCF8A4 #FEFDDF #FEFDE1

Accessibility & contrast

On white

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

On black

19.10
#FCF8A4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF8A4
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF8A4#FFFFFF#000000##000000
##FCF8A41.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf8a4;
/* rgb */ color: rgb(252, 248, 164);
/* oklch */ color: oklch(96.4% 0.105 105.9);
Tailwind
colors: {
  custom: {
    50: '#fefac0',
    500: '#fcf8a4',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8a4;
$custom-light: #fefac0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8a4",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 164
  },
  "hsl": {
    "h": 57.273,
    "s": 93.617,
    "l": 81.569
  },
  "oklch": {
    "l": 0.96354,
    "c": 0.10473,
    "h": 105.9
  },
  "luminance": 0.90511
}

Semantic roles & 50–950 ramp

primary
#FCF8A4
secondary
#656BDF
accent
#0AE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FCF8A4

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

Preview Lab → · Contrast checker → · Palette generator →

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