#FCF8A3#FCF8A3

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

Color values

HEX#FCF8A3
RGBrgb(252, 248, 163)
HSLhsl(57, 94%, 81%)
HSVhsv(57, 35%, 99%)
CMYKcmyk(0%, 1.6%, 35.3%, 1.2%)
CIE-LABlab(96.19, -10.87, 41.35)
CIE-LCHlch(96.19, 42.76, 104.73°)
OKLaboklab(96.34% -0.029 0.1018)
OKLCHoklch(96.34% 0.106 105.9)
XYZxyz(80.3241, 90.4763, 47.8756)
Luminance0.9048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8A3 #A3A7FC
analogous
#FCCCA3 #FCF8A3 #D4FCA3
triadic
#FCF8A3 #A3FCF8 #F8A3FC
tetradic
#FCF8A3 #A3FCCC #A3A7FC #FCA3D4
square
#FCF8A3 #A3FCCC #A3A7FC #FCA3D4
split-complementary
#FCF8A3 #A3D4FC #CCA3FC
monochromatic
#F8EF2C #FAF368 #FCF8A3 #FEFDDE #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF8A3#FFFFFF#000000##000000
##FCF8A31.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)
#FFF29D
Deuteranopia (green-blind)
#FFF6A6
Tritanopia (blue-blind)
#FFEEE3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf8a3;
/* rgb */ color: rgb(252, 248, 163);
/* oklch */ color: oklch(96.3% 0.106 105.9);
Tailwind
colors: {
  custom: {
    50: '#fefabf',
    500: '#fcf8a3',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8a3;
$custom-light: #fefabf;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8a3",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 163
  },
  "hsl": {
    "h": 57.303,
    "s": 93.684,
    "l": 81.373
  },
  "oklch": {
    "l": 0.96338,
    "c": 0.10586,
    "h": 105.9
  },
  "luminance": 0.90475
}

Semantic roles & 50–950 ramp

primary
#FCF8A3
secondary
#646ADF
accent
#0AE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FCF8A3

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

Preview Lab → · Contrast checker → · Palette generator →

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