#FEFC93#FEFC93

#FEFC93 is a very light, vivid yellow. Relative luminance 0.928; OKLCH L 97.1% C 0.127 H 107.6°. Best body text is #000000 at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#FEFC93
RGBrgb(254, 252, 147)
HSLhsl(59, 98%, 79%)
HSVhsv(59, 42%, 100%)
CMYKcmyk(0%, 0.8%, 42.1%, 0.4%)
CIE-LABlab(97.15, -13.75, 50.37)
CIE-LCHlch(97.15, 52.21, 105.27°)
OKLaboklab(97.06% -0.0385 0.1215)
OKLCHoklch(97.06% 0.127 107.6)
XYZxyz(80.9514, 92.8001, 41.2460)
Luminance0.9280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFC93 #9395FE
analogous
#FEC693 #FEFC93 #CAFE93
triadic
#FEFC93 #93FEFC #FC93FE
tetradic
#FEFC93 #93FEC6 #9395FE #FE93CA
square
#FEFC93 #93FEC6 #9395FE #FE93CA
split-complementary
#FEFC93 #93CAFE #C693FE
monochromatic
#FDF91A #FDFA56 #FEFC93 #FFFED0 #FFFEE1

Accessibility & contrast

On white

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

On black

19.56
#FEFC93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFC93
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFC93#FFFFFF#000000##000000
##FEFC931.001.0719.5619.56
#FFFFFF1.071.0021.0021.00
#00000019.5621.001.001.00
##00000019.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF48B
Deuteranopia (green-blind)
#FFF998
Tritanopia (blue-blind)
#FFF0E3
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefc93;
/* rgb */ color: rgb(254, 252, 147);
/* oklch */ color: oklch(97.1% 0.127 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffdb4',
    500: '#fefc93',
    950: '#000000',
  },
}
SCSS
$custom: #fefc93;
$custom-light: #fffdb4;
$custom-dark: #000000;
JSON
{
  "hex": "#fefc93",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 147
  },
  "hsl": {
    "h": 58.879,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.9706,
    "c": 0.12749,
    "h": 107.6
  },
  "luminance": 0.92798
}

Semantic roles & 50–950 ramp

primary
#FEFC93
secondary
#5658E0
accent
#04E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEFC93

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

Preview Lab → · Contrast checker → · Palette generator →

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