#FFFCBA#FFFCBA

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

Color values

HEX#FFFCBA
RGBrgb(255, 252, 186)
HSLhsl(57, 100%, 86%)
HSVhsv(57, 27%, 100%)
CMYKcmyk(0%, 1.2%, 27.1%, 0%)
CIE-LABlab(97.80, -8.98, 32.07)
CIE-LCHlch(97.80, 33.30, 105.64°)
OKLaboklab(97.79% -0.0226 0.0806)
OKLCHoklch(97.79% 0.084 105.7)
XYZxyz(84.9136, 94.4274, 60.1980)
Luminance0.9443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFCBA #BABDFF
analogous
#FFDABA #FFFCBA #E0FFBA
triadic
#FFFCBA #BAFFFC #FCBAFF
tetradic
#FFFCBA #BAFFDA #BABDFF #FFBAE0
square
#FFFCBA #BAFFDA #BABDFF #FFBAE0
split-complementary
#FFFCBA #BAE0FF #DABAFF
monochromatic
#FFF740 #FFF97D #FFFCBA #FFFEE0 #FFFEE0

Accessibility & contrast

On white

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

On black

19.89
#FFFCBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFCBA
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFCBA#FFFFFF#000000##000000
##FFFCBA1.001.0619.8919.89
#FFFFFF1.061.0021.0021.00
#00000019.8921.001.001.00
##00000019.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffcba;
/* rgb */ color: rgb(255, 252, 186);
/* oklch */ color: oklch(97.8% 0.084 105.7);
Tailwind
colors: {
  custom: {
    50: '#fffdcf',
    500: '#fffcba',
    950: '#000000',
  },
}
SCSS
$custom: #fffcba;
$custom-light: #fffdcf;
$custom-dark: #000000;
JSON
{
  "hex": "#fffcba",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 186
  },
  "hsl": {
    "h": 57.391,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.9779,
    "c": 0.0837,
    "h": 105.7
  },
  "luminance": 0.94426
}

Semantic roles & 50–950 ramp

primary
#FFFCBA
secondary
#767BE7
accent
#0AE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFFCBA

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

Preview Lab → · Contrast checker → · Palette generator →

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