#FCF782#FCF782

#FCF782 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.7% C 0.139 H 106.6°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#FCF782
RGBrgb(252, 247, 130)
HSLhsl(58, 95%, 75%)
HSVhsv(58, 48%, 99%)
CMYKcmyk(0%, 2%, 48.4%, 1.2%)
CIE-LABlab(95.51, -13.66, 56.33)
CIE-LCHlch(95.51, 57.96, 103.63°)
OKLaboklab(95.66% -0.0397 0.1335)
OKLCHoklch(95.66% 0.139 106.6)
XYZxyz(77.4368, 88.8308, 34.1817)
Luminance0.8883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF782 #8287FC
analogous
#FCBA82 #FCF782 #C4FC82
triadic
#FCF782 #82FCF7 #F782FC
tetradic
#FCF782 #82FCBA #8287FC #FC82C4
square
#FCF782 #82FCBA #8287FC #FC82C4
split-complementary
#FCF782 #82C4FC #BA82FC
monochromatic
#F9EF0A #FBF346 #FCF782 #FDFBBE #FEFDE1

Accessibility & contrast

On white

1.12
#FCF782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.77
#FCF782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF782
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF782#FFFFFF#000000##000000
##FCF7821.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF78
Deuteranopia (green-blind)
#FFF488
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf782;
/* rgb */ color: rgb(252, 247, 130);
/* oklch */ color: oklch(95.7% 0.139 106.6);
Tailwind
colors: {
  custom: {
    50: '#fff9a9',
    500: '#fcf782',
    950: '#000000',
  },
}
SCSS
$custom: #fcf782;
$custom-light: #fff9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf782",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 130
  },
  "hsl": {
    "h": 57.541,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.95655,
    "c": 0.13932,
    "h": 106.6
  },
  "luminance": 0.88829
}

Semantic roles & 50–950 ramp

primary
#FCF782
secondary
#484EDA
accent
#09E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF782

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

Preview Lab → · Contrast checker → · Palette generator →

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