#FFFCA8#FFFCA8

#FFFCA8 is a very light, moderate yellow. Relative luminance 0.937; OKLCH L 97.5% C 0.105 H 106.4°. Best body text is #000000 at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#FFFCA8
RGBrgb(255, 252, 168)
HSLhsl(58, 100%, 83%)
HSVhsv(58, 34%, 100%)
CMYKcmyk(0%, 1.2%, 34.1%, 0%)
CIE-LABlab(97.51, -11.15, 40.65)
CIE-LCHlch(97.51, 42.15, 105.33°)
OKLaboklab(97.47% -0.0296 0.1003)
OKLCHoklch(97.47% 0.105 106.4)
XYZxyz(83.1192, 93.7096, 50.7474)
Luminance0.9371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFCA8 #A8ABFF
analogous
#FFD0A8 #FFFCA8 #D6FFA8
triadic
#FFFCA8 #A8FFFC #FCA8FF
tetradic
#FFFCA8 #A8FFD0 #A8ABFF #FFA8D6
square
#FFFCA8 #A8FFD0 #A8ABFF #FFA8D6
split-complementary
#FFFCA8 #A8D6FF #D0A8FF
monochromatic
#FFF82E #FFFA6B #FFFCA8 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

1.06
#FFFCA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.74
#FFFCA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFCA8
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFCA8#FFFFFF#000000##000000
##FFFCA81.001.0619.7419.74
#FFFFFF1.061.0021.0021.00
#00000019.7421.001.001.00
##00000019.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6A2
Deuteranopia (green-blind)
#FFFAAB
Tritanopia (blue-blind)
#FFF2E7
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffca8;
/* rgb */ color: rgb(255, 252, 168);
/* oklch */ color: oklch(97.5% 0.105 106.4);
Tailwind
colors: {
  custom: {
    50: '#fffdc2',
    500: '#fffca8',
    950: '#000000',
  },
}
SCSS
$custom: #fffca8;
$custom-light: #fffdc2;
$custom-dark: #000000;
JSON
{
  "hex": "#fffca8",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 168
  },
  "hsl": {
    "h": 57.931,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.97466,
    "c": 0.10461,
    "h": 106.4
  },
  "luminance": 0.93708
}

Semantic roles & 50–950 ramp

primary
#FFFCA8
secondary
#676BE4
accent
#08E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFFCA8

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

Preview Lab → · Contrast checker → · Palette generator →

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