#FFFCB4#FFFCB4

#FFFCB4 is a very light, moderate yellow. Relative luminance 0.942; OKLCH L 97.7% C 0.091 H 106.0°. Best body text is #000000 at 19.84:1 contrast (WCAG AA passes).

Color values

HEX#FFFCB4
RGBrgb(255, 252, 180)
HSLhsl(58, 100%, 85%)
HSVhsv(58, 29%, 100%)
CMYKcmyk(0%, 1.2%, 29.4%, 0%)
CIE-LABlab(97.70, -9.73, 34.94)
CIE-LCHlch(97.70, 36.27, 105.56°)
OKLaboklab(97.68% -0.0249 0.0873)
OKLCHoklch(97.68% 0.091 106)
XYZxyz(84.2891, 94.1776, 56.9090)
Luminance0.9418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFCB4 #B4B7FF
analogous
#FFD6B4 #FFFCB4 #DCFFB4
triadic
#FFFCB4 #B4FFFC #FCB4FF
tetradic
#FFFCB4 #B4FFD6 #B4B7FF #FFB4DC
square
#FFFCB4 #B4FFD6 #B4B7FF #FFB4DC
split-complementary
#FFFCB4 #B4DCFF #D6B4FF
monochromatic
#FFF73A #FFFA77 #FFFCB4 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

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

On black

19.84
#FFFCB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFCB4
19.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFCB4#FFFFFF#000000##000000
##FFFCB41.001.0619.8419.84
#FFFFFF1.061.0021.0021.00
#00000019.8421.001.001.00
##00000019.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6AF
Deuteranopia (green-blind)
#FFFAB7
Tritanopia (blue-blind)
#FFF3E9
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffcb4;
/* rgb */ color: rgb(255, 252, 180);
/* oklch */ color: oklch(97.7% 0.091 106.0);
Tailwind
colors: {
  custom: {
    50: '#fffdcb',
    500: '#fffcb4',
    950: '#000000',
  },
}
SCSS
$custom: #fffcb4;
$custom-light: #fffdcb;
$custom-dark: #000000;
JSON
{
  "hex": "#fffcb4",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 180
  },
  "hsl": {
    "h": 57.6,
    "s": 100,
    "l": 85.294
  },
  "oklch": {
    "l": 0.97678,
    "c": 0.09079,
    "h": 106
  },
  "luminance": 0.94176
}

Semantic roles & 50–950 ramp

primary
#FFFCB4
secondary
#7176E6
accent
#09E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FFFCB4

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

Preview Lab → · Contrast checker → · Palette generator →

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