#FCFE7C#FCFE7C

#FCFE7C is a very light, vivid yellow. Relative luminance 0.930; OKLCH L 97.0% C 0.152 H 109.7°. Best body text is #000000 at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#FCFE7C
RGBrgb(252, 254, 124)
HSLhsl(61, 98%, 74%)
HSVhsv(61, 51%, 100%)
CMYKcmyk(0.8%, 0%, 51.2%, 0.4%)
CIE-LABlab(97.24, -17.55, 61.11)
CIE-LCHlch(97.24, 63.58, 106.03°)
OKLaboklab(97.01% -0.0514 0.1434)
OKLCHoklch(97.01% 0.152 109.7)
XYZxyz(79.2266, 93.0362, 32.8492)
Luminance0.9303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCFE7C #7E7CFE
analogous
#FEBF7C #FCFE7C #BBFE7C
triadic
#FCFE7C #7CFCFE #FE7CFC
tetradic
#FCFE7C #7CFEBF #7E7CFE #FE7CBB
square
#FCFE7C #7CFEBF #7E7CFE #FE7CBB
split-complementary
#FCFE7C #7CBBFE #BF7CFE
monochromatic
#F9FD03 #FBFE3F #FCFE7C #FDFEB9 #FEFFE1

Accessibility & contrast

On white

1.07
#FCFE7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.61
#FCFE7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCFE7C
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCFE7C#FFFFFF#000000##000000
##FCFE7C1.001.0719.6119.61
#FFFFFF1.071.0021.0021.00
#00000019.6121.001.001.00
##00000019.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF570
Deuteranopia (green-blind)
#FFF983
Tritanopia (blue-blind)
#FFF1E1
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fcfe7c;
/* rgb */ color: rgb(252, 254, 124);
/* oklch */ color: oklch(97.0% 0.152 109.7);
Tailwind
colors: {
  custom: {
    50: '#fffea5',
    500: '#fcfe7c',
    950: '#000000',
  },
}
SCSS
$custom: #fcfe7c;
$custom-light: #fffea5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcfe7c",
  "rgb": {
    "r": 252,
    "g": 254,
    "b": 124
  },
  "hsl": {
    "h": 60.923,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.97013,
    "c": 0.15235,
    "h": 109.7
  },
  "luminance": 0.93034
}

Semantic roles & 50–950 ramp

primary
#FCFE7C
secondary
#4442DC
accent
#00E604
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FCFE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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