#FFFCB7#FFFCB7

#FFFCB7 is a very light, moderate yellow. Relative luminance 0.943; OKLCH L 97.7% C 0.087 H 105.8°. Best body text is #000000 at 19.86:1 contrast (WCAG AA passes).

Color values

HEX#FFFCB7
RGBrgb(255, 252, 183)
HSLhsl(58, 100%, 86%)
HSVhsv(58, 28%, 100%)
CMYKcmyk(0%, 1.2%, 28.2%, 0%)
CIE-LABlab(97.75, -9.35, 33.50)
CIE-LCHlch(97.75, 34.78, 105.60°)
OKLaboklab(97.73% -0.0238 0.084)
OKLCHoklch(97.73% 0.087 105.8)
XYZxyz(84.5980, 94.3012, 58.5360)
Luminance0.9430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFCB7 #B7BAFF
analogous
#FFD8B7 #FFFCB7 #DEFFB7
triadic
#FFFCB7 #B7FFFC #FCB7FF
tetradic
#FFFCB7 #B7FFD8 #B7BAFF #FFB7DE
square
#FFFCB7 #B7FFD8 #B7BAFF #FFB7DE
split-complementary
#FFFCB7 #B7DEFF #D8B7FF
monochromatic
#FFF73D #FFF97A #FFFCB7 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

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

On black

19.86
#FFFCB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFCB7
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFCB7#FFFFFF#000000##000000
##FFFCB71.001.0619.8619.86
#FFFFFF1.061.0021.0021.00
#00000019.8621.001.001.00
##00000019.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffcb7;
/* rgb */ color: rgb(255, 252, 183);
/* oklch */ color: oklch(97.7% 0.087 105.8);
Tailwind
colors: {
  custom: {
    50: '#fffdcd',
    500: '#fffcb7',
    950: '#000000',
  },
}
SCSS
$custom: #fffcb7;
$custom-light: #fffdcd;
$custom-dark: #000000;
JSON
{
  "hex": "#fffcb7",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 183
  },
  "hsl": {
    "h": 57.5,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.97733,
    "c": 0.08725,
    "h": 105.8
  },
  "luminance": 0.943
}

Semantic roles & 50–950 ramp

primary
#FFFCB7
secondary
#7479E6
accent
#0AE600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FFFCB7

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

Preview Lab → · Contrast checker → · Palette generator →

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