#FFFCB2#FFFCB2

#FFFCB2 is a very light, moderate yellow. Relative luminance 0.941; OKLCH L 97.6% C 0.093 H 106.0°. Best body text is #000000 at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#FFFCB2
RGBrgb(255, 252, 178)
HSLhsl(58, 100%, 85%)
HSVhsv(58, 30%, 100%)
CMYKcmyk(0%, 1.2%, 30.2%, 0%)
CIE-LABlab(97.67, -9.97, 35.89)
CIE-LCHlch(97.67, 37.25, 105.52°)
OKLaboklab(97.64% -0.0257 0.0895)
OKLCHoklch(97.64% 0.093 106)
XYZxyz(84.0868, 94.0967, 55.8437)
Luminance0.9409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFCB2 #B2B5FF
analogous
#FFD5B2 #FFFCB2 #DCFFB2
triadic
#FFFCB2 #B2FFFC #FCB2FF
tetradic
#FFFCB2 #B2FFD5 #B2B5FF #FFB2DC
square
#FFFCB2 #B2FFD5 #B2B5FF #FFB2DC
split-complementary
#FFFCB2 #B2DCFF #D5B2FF
monochromatic
#FFF738 #FFFA75 #FFFCB2 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

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

On black

19.82
#FFFCB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFCB2
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFCB2#FFFFFF#000000##000000
##FFFCB21.001.0619.8219.82
#FFFFFF1.061.0021.0021.00
#00000019.8221.001.001.00
##00000019.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffcb2;
/* rgb */ color: rgb(255, 252, 178);
/* oklch */ color: oklch(97.6% 0.093 106.0);
Tailwind
colors: {
  custom: {
    50: '#fffdc9',
    500: '#fffcb2',
    950: '#000000',
  },
}
SCSS
$custom: #fffcb2;
$custom-light: #fffdc9;
$custom-dark: #000000;
JSON
{
  "hex": "#fffcb2",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 178
  },
  "hsl": {
    "h": 57.662,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.97641,
    "c": 0.09313,
    "h": 106
  },
  "luminance": 0.94095
}

Semantic roles & 50–950 ramp

primary
#FFFCB2
secondary
#7074E6
accent
#09E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFFCB2

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

Preview Lab → · Contrast checker → · Palette generator →

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