#FFFCB8#FFFCB8

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

Color values

HEX#FFFCB8
RGBrgb(255, 252, 184)
HSLhsl(57, 100%, 86%)
HSVhsv(57, 28%, 100%)
CMYKcmyk(0%, 1.2%, 27.8%, 0%)
CIE-LABlab(97.77, -9.23, 33.02)
CIE-LCHlch(97.77, 34.29, 105.61°)
OKLaboklab(97.75% -0.0234 0.0828)
OKLCHoklch(97.75% 0.086 105.8)
XYZxyz(84.7025, 94.3429, 59.0861)
Luminance0.9434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFCB8 #B8BBFF
analogous
#FFD8B8 #FFFCB8 #DEFFB8
triadic
#FFFCB8 #B8FFFC #FCB8FF
tetradic
#FFFCB8 #B8FFD8 #B8BBFF #FFB8DE
square
#FFFCB8 #B8FFD8 #B8BBFF #FFB8DE
split-complementary
#FFFCB8 #B8DEFF #D8B8FF
monochromatic
#FFF73E #FFF97B #FFFCB8 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

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

On black

19.87
#FFFCB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFCB8
19.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFCB8#FFFFFF#000000##000000
##FFFCB81.001.0619.8719.87
#FFFFFF1.061.0021.0021.00
#00000019.8721.001.001.00
##00000019.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffcb8;
/* rgb */ color: rgb(255, 252, 184);
/* oklch */ color: oklch(97.8% 0.086 105.8);
Tailwind
colors: {
  custom: {
    50: '#fffdcd',
    500: '#fffcb8',
    950: '#000000',
  },
}
SCSS
$custom: #fffcb8;
$custom-light: #fffdcd;
$custom-dark: #000000;
JSON
{
  "hex": "#fffcb8",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 184
  },
  "hsl": {
    "h": 57.465,
    "s": 100,
    "l": 86.078
  },
  "oklch": {
    "l": 0.97752,
    "c": 0.08607,
    "h": 105.8
  },
  "luminance": 0.94341
}

Semantic roles & 50–950 ramp

primary
#FFFCB8
secondary
#7579E7
accent
#0AE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181713
muted
#868583

Preview Lab

Preview with #FFFCB8

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

Preview Lab → · Contrast checker → · Palette generator →

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