#FEFC79#FEFC79

#FEFC79 is a very light, vivid yellow. Relative luminance 0.921; OKLCH L 96.7% C 0.153 H 108.1°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#FEFC79
RGBrgb(254, 252, 121)
HSLhsl(59, 99%, 74%)
HSVhsv(59, 52%, 100%)
CMYKcmyk(0%, 0.8%, 52.4%, 0.4%)
CIE-LABlab(96.85, -16.04, 62.03)
CIE-LCHlch(96.85, 64.07, 104.50°)
OKLaboklab(96.73% -0.0475 0.1451)
OKLCHoklch(96.73% 0.153 108.1)
XYZxyz(79.1367, 92.0742, 31.6889)
Luminance0.9207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFC79 #797BFE
analogous
#FEB979 #FEFC79 #BDFE79
triadic
#FEFC79 #79FEFC #FC79FE
tetradic
#FEFC79 #79FEB9 #797BFE #FE79BD
square
#FEFC79 #79FEB9 #797BFE #FE79BD
split-complementary
#FEFC79 #79BDFE #B979FE
monochromatic
#FBF702 #FEFB3C #FEFC79 #FEFDB6 #FFFEE1

Accessibility & contrast

On white

1.08
#FEFC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.41
#FEFC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFC79
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFC79#FFFFFF#000000##000000
##FEFC791.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF36C
Deuteranopia (green-blind)
#FFF880
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefc79;
/* rgb */ color: rgb(254, 252, 121);
/* oklch */ color: oklch(96.7% 0.153 108.1);
Tailwind
colors: {
  custom: {
    50: '#fffda3',
    500: '#fefc79',
    950: '#000000',
  },
}
SCSS
$custom: #fefc79;
$custom-light: #fffda3;
$custom-dark: #000000;
JSON
{
  "hex": "#fefc79",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 121
  },
  "hsl": {
    "h": 59.098,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.96729,
    "c": 0.15267,
    "h": 108.1
  },
  "luminance": 0.92072
}

Semantic roles & 50–950 ramp

primary
#FEFC79
secondary
#3F42DC
accent
#03E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFC79

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

Preview Lab → · Contrast checker → · Palette generator →

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