#FFFCA7#FFFCA7

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

Color values

HEX#FFFCA7
RGBrgb(255, 252, 167)
HSLhsl(58, 100%, 83%)
HSVhsv(58, 35%, 100%)
CMYKcmyk(0%, 1.2%, 34.5%, 0%)
CIE-LABlab(97.50, -11.26, 41.12)
CIE-LCHlch(97.50, 42.64, 105.31°)
OKLaboklab(97.45% -0.03 0.1014)
OKLCHoklch(97.45% 0.106 106.5)
XYZxyz(83.0264, 93.6725, 50.2586)
Luminance0.9367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFCA7 #A7AAFF
analogous
#FFD0A7 #FFFCA7 #D6FFA7
triadic
#FFFCA7 #A7FFFC #FCA7FF
tetradic
#FFFCA7 #A7FFD0 #A7AAFF #FFA7D6
square
#FFFCA7 #A7FFD0 #A7AAFF #FFA7D6
split-complementary
#FFFCA7 #A7D6FF #D0A7FF
monochromatic
#FFF82D #FFFA6A #FFFCA7 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

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

On black

19.73
#FFFCA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFCA7
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFCA7#FFFFFF#000000##000000
##FFFCA71.001.0619.7319.73
#FFFFFF1.061.0021.0021.00
#00000019.7321.001.001.00
##00000019.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6A1
Deuteranopia (green-blind)
#FFFAAA
Tritanopia (blue-blind)
#FFF2E6
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffca7;
/* rgb */ color: rgb(255, 252, 167);
/* oklch */ color: oklch(97.5% 0.106 106.5);
Tailwind
colors: {
  custom: {
    50: '#fffdc2',
    500: '#fffca7',
    950: '#000000',
  },
}
SCSS
$custom: #fffca7;
$custom-light: #fffdc2;
$custom-dark: #000000;
JSON
{
  "hex": "#fffca7",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 167
  },
  "hsl": {
    "h": 57.955,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.9745,
    "c": 0.10574,
    "h": 106.5
  },
  "luminance": 0.93671
}

Semantic roles & 50–950 ramp

primary
#FFFCA7
secondary
#666AE4
accent
#08E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFFCA7

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

Preview Lab → · Contrast checker → · Palette generator →

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