#FFFCB9#FFFCB9

#FFFCB9 is a very light, moderate yellow. Relative luminance 0.944; OKLCH L 97.8% C 0.085 H 105.7°. Best body text is #000000 at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#FFFCB9
RGBrgb(255, 252, 185)
HSLhsl(57, 100%, 86%)
HSVhsv(57, 27%, 100%)
CMYKcmyk(0%, 1.2%, 27.5%, 0%)
CIE-LABlab(97.79, -9.10, 32.54)
CIE-LCHlch(97.79, 33.79, 105.63°)
OKLaboklab(97.77% -0.023 0.0817)
OKLCHoklch(97.77% 0.085 105.7)
XYZxyz(84.8076, 94.3850, 59.6401)
Luminance0.9438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFCB9 #B9BCFF
analogous
#FFD9B9 #FFFCB9 #DFFFB9
triadic
#FFFCB9 #B9FFFC #FCB9FF
tetradic
#FFFCB9 #B9FFD9 #B9BCFF #FFB9DF
square
#FFFCB9 #B9FFD9 #B9BCFF #FFB9DF
split-complementary
#FFFCB9 #B9DFFF #D9B9FF
monochromatic
#FFF73F #FFF97C #FFFCB9 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

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

On black

19.88
#FFFCB9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFCB9
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFCB9#FFFFFF#000000##000000
##FFFCB91.001.0619.8819.88
#FFFFFF1.061.0021.0021.00
#00000019.8821.001.001.00
##00000019.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7B5
Deuteranopia (green-blind)
#FFFABC
Tritanopia (blue-blind)
#FFF3EA
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fffcb9;
/* rgb */ color: rgb(255, 252, 185);
/* oklch */ color: oklch(97.8% 0.085 105.7);
Tailwind
colors: {
  custom: {
    50: '#fffdce',
    500: '#fffcb9',
    950: '#000000',
  },
}
SCSS
$custom: #fffcb9;
$custom-light: #fffdce;
$custom-dark: #000000;
JSON
{
  "hex": "#fffcb9",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 185
  },
  "hsl": {
    "h": 57.429,
    "s": 100,
    "l": 86.275
  },
  "oklch": {
    "l": 0.97771,
    "c": 0.08488,
    "h": 105.7
  },
  "luminance": 0.94384
}

Semantic roles & 50–950 ramp

primary
#FFFCB9
secondary
#757AE7
accent
#0AE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181713
muted
#868583

Preview Lab

Preview with #FFFCB9

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

Preview Lab → · Contrast checker → · Palette generator →

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