#FCFB87#FCFB87

#FCFB87 is a very light, vivid yellow. Relative luminance 0.914; OKLCH L 96.5% C 0.139 H 108.3°. Best body text is #000000 at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#FCFB87
RGBrgb(252, 251, 135)
HSLhsl(59, 95%, 76%)
HSVhsv(59, 46%, 99%)
CMYKcmyk(0%, 0.4%, 46.4%, 1.2%)
CIE-LABlab(96.59, -15.16, 55.31)
CIE-LCHlch(96.59, 57.35, 105.33°)
OKLaboklab(96.53% -0.0435 0.1317)
OKLCHoklch(96.53% 0.139 108.3)
XYZxyz(79.0169, 91.4410, 36.4044)
Luminance0.9144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCFB87 #8788FC
analogous
#FCC087 #FCFB87 #C2FC87
triadic
#FCFB87 #87FCFB #FB87FC
tetradic
#FCFB87 #87FCC0 #8788FC #FC87C2
square
#FCFB87 #87FCC0 #8788FC #FC87C2
split-complementary
#FCFB87 #87C2FC #C087FC
monochromatic
#F9F710 #FBF94B #FCFB87 #FDFDC3 #FEFEE1

Accessibility & contrast

On white

1.09
#FCFB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.29
#FCFB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCFB87
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCFB87#FFFFFF#000000##000000
##FCFB871.001.0919.2919.29
#FFFFFF1.091.0021.0021.00
#00000019.2921.001.001.00
##00000019.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF37D
Deuteranopia (green-blind)
#FFF78D
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fcfb87;
/* rgb */ color: rgb(252, 251, 135);
/* oklch */ color: oklch(96.5% 0.139 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffcac',
    500: '#fcfb87',
    950: '#000000',
  },
}
SCSS
$custom: #fcfb87;
$custom-light: #fffcac;
$custom-dark: #000000;
JSON
{
  "hex": "#fcfb87",
  "rgb": {
    "r": 252,
    "g": 251,
    "b": 135
  },
  "hsl": {
    "h": 59.487,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.96534,
    "c": 0.13871,
    "h": 108.3
  },
  "luminance": 0.91439
}

Semantic roles & 50–950 ramp

primary
#FCFB87
secondary
#4C4DDB
accent
#02E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCFB87

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

Preview Lab → · Contrast checker → · Palette generator →

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