#FCF882#FCF882

#FCF882 is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.9% C 0.140 H 107.0°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#FCF882
RGBrgb(252, 248, 130)
HSLhsl(58, 95%, 75%)
HSVhsv(58, 48%, 99%)
CMYKcmyk(0%, 1.6%, 48.4%, 1.2%)
CIE-LABlab(95.77, -14.14, 56.64)
CIE-LCHlch(95.77, 58.38, 104.02°)
OKLaboklab(95.86% -0.0411 0.1342)
OKLCHoklch(95.86% 0.14 107)
XYZxyz(77.7434, 89.4440, 34.2839)
Luminance0.8944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF882 #8286FC
analogous
#FCBB82 #FCF882 #C3FC82
triadic
#FCF882 #82FCF8 #F882FC
tetradic
#FCF882 #82FCBB #8286FC #FC82C3
square
#FCF882 #82FCBB #8286FC #FC82C3
split-complementary
#FCF882 #82C3FC #BB82FC
monochromatic
#F9F10A #FBF546 #FCF882 #FDFBBE #FEFDE1

Accessibility & contrast

On white

1.11
#FCF882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.89
#FCF882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF882
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF882#FFFFFF#000000##000000
##FCF8821.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF077
Deuteranopia (green-blind)
#FFF588
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf882;
/* rgb */ color: rgb(252, 248, 130);
/* oklch */ color: oklch(95.9% 0.140 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffaa9',
    500: '#fcf882',
    950: '#000000',
  },
}
SCSS
$custom: #fcf882;
$custom-light: #fffaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf882",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 130
  },
  "hsl": {
    "h": 58.033,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.95858,
    "c": 0.14037,
    "h": 107
  },
  "luminance": 0.89442
}

Semantic roles & 50–950 ramp

primary
#FCF882
secondary
#484DDA
accent
#08E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF882

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

Preview Lab → · Contrast checker → · Palette generator →

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