#FCE780#FCE780

#FCE780 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.4% C 0.126 H 98.1°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#FCE780
RGBrgb(252, 231, 128)
HSLhsl(50, 95%, 75%)
HSVhsv(50, 49%, 99%)
CMYKcmyk(0%, 8.3%, 49.2%, 1.2%)
CIE-LABlab(91.42, -5.92, 52.34)
CIE-LCHlch(91.42, 52.68, 96.45°)
OKLaboklab(92.4% -0.0177 0.1246)
OKLCHoklch(92.4% 0.126 98.1)
XYZxyz(72.6193, 79.4085, 31.9200)
Luminance0.7941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE780 #8095FC
analogous
#FCA980 #FCE780 #D3FC80
triadic
#FCE780 #80FCE7 #E780FC
tetradic
#FCE780 #80FCA9 #8095FC #FC80D3
square
#FCE780 #80FCA9 #8095FC #FC80D3
split-complementary
#FCE780 #80D3FC #A980FC
monochromatic
#F9D008 #FBDC44 #FCE780 #FDF2BC #FEF9E1

Accessibility & contrast

On white

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

On black

16.88
#FCE780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE780
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE780#FFFFFF#000000##000000
##FCE7801.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fce780;
/* rgb */ color: rgb(252, 231, 128);
/* oklch */ color: oklch(92.4% 0.126 98.1);
Tailwind
colors: {
  custom: {
    50: '#ffeea7',
    500: '#fce780',
    950: '#000000',
  },
}
SCSS
$custom: #fce780;
$custom-light: #ffeea7;
$custom-dark: #000000;
JSON
{
  "hex": "#fce780",
  "rgb": {
    "r": 252,
    "g": 231,
    "b": 128
  },
  "hsl": {
    "h": 49.839,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92401,
    "c": 0.12587,
    "h": 98.1
  },
  "luminance": 0.79406
}

Semantic roles & 50–950 ramp

primary
#FCE780
secondary
#465FDA
accent
#27E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #FCE780

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

Preview Lab → · Contrast checker → · Palette generator →

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