#FCE782#FCE782

#FCE782 is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.4% C 0.124 H 97.9°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#FCE782
RGBrgb(252, 231, 130)
HSLhsl(50, 95%, 75%)
HSVhsv(50, 48%, 99%)
CMYKcmyk(0%, 8.3%, 48.4%, 1.2%)
CIE-LABlab(91.44, -5.74, 51.42)
CIE-LCHlch(91.44, 51.74, 96.37°)
OKLaboklab(92.43% -0.017 0.1227)
OKLCHoklch(92.43% 0.124 97.9)
XYZxyz(72.7522, 79.4617, 32.6202)
Luminance0.7946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE782 #8297FC
analogous
#FCAA82 #FCE782 #D4FC82
triadic
#FCE782 #82FCE7 #E782FC
tetradic
#FCE782 #82FCAA #8297FC #FC82D4
square
#FCE782 #82FCAA #8297FC #FC82D4
split-complementary
#FCE782 #82D4FC #AA82FC
monochromatic
#F9D00A #FBDC46 #FCE782 #FDF2BE #FEF9E1

Accessibility & contrast

On white

1.24
#FCE782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.89
#FCE782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE782
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE782#FFFFFF#000000##000000
##FCE7821.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E279
Deuteranopia (green-blind)
#FEEA86
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fce782;
/* rgb */ color: rgb(252, 231, 130);
/* oklch */ color: oklch(92.4% 0.124 97.9);
Tailwind
colors: {
  custom: {
    50: '#ffeea8',
    500: '#fce782',
    950: '#000000',
  },
}
SCSS
$custom: #fce782;
$custom-light: #ffeea8;
$custom-dark: #000000;
JSON
{
  "hex": "#fce782",
  "rgb": {
    "r": 252,
    "g": 231,
    "b": 130
  },
  "hsl": {
    "h": 49.672,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92428,
    "c": 0.12391,
    "h": 97.9
  },
  "luminance": 0.79459
}

Semantic roles & 50–950 ramp

primary
#FCE782
secondary
#4861DA
accent
#28E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FCE782

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

Preview Lab → · Contrast checker → · Palette generator →

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