#FCF8A6#FCF8A6

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

Color values

HEX#FCF8A6
RGBrgb(252, 248, 166)
HSLhsl(57, 93%, 82%)
HSVhsv(57, 34%, 99%)
CMYKcmyk(0%, 1.6%, 34.1%, 1.2%)
CIE-LABlab(96.24, -10.53, 39.93)
CIE-LCHlch(96.24, 41.30, 104.78°)
OKLaboklab(96.39% -0.0279 0.0986)
OKLCHoklch(96.39% 0.102 105.8)
XYZxyz(80.5961, 90.5851, 49.3080)
Luminance0.9058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF8A6 #A6AAFC
analogous
#FCCDA6 #FCF8A6 #D5FCA6
triadic
#FCF8A6 #A6FCF8 #F8A6FC
tetradic
#FCF8A6 #A6FCCD #A6AAFC #FCA6D5
square
#FCF8A6 #A6FCCD #A6AAFC #FCA6D5
split-complementary
#FCF8A6 #A6D5FC #CDA6FC
monochromatic
#F8EF30 #FAF36B #FCF8A6 #FEFDE1 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF8A6#FFFFFF#000000##000000
##FCF8A61.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)
#FFF2A0
Deuteranopia (green-blind)
#FFF6A9
Tritanopia (blue-blind)
#FFEEE3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf8a6;
/* rgb */ color: rgb(252, 248, 166);
/* oklch */ color: oklch(96.4% 0.102 105.8);
Tailwind
colors: {
  custom: {
    50: '#fefac1',
    500: '#fcf8a6',
    950: '#000000',
  },
}
SCSS
$custom: #fcf8a6;
$custom-light: #fefac1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf8a6",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 166
  },
  "hsl": {
    "h": 57.209,
    "s": 93.478,
    "l": 81.961
  },
  "oklch": {
    "l": 0.96388,
    "c": 0.10247,
    "h": 105.8
  },
  "luminance": 0.90583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF8A6

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

Preview Lab → · Contrast checker → · Palette generator →

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