#FEFD99#FEFD99

#FEFD99 is a very light, vivid yellow. Relative luminance 0.936; OKLCH L 97.4% C 0.122 H 108.0°. Best body text is #000000 at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#FEFD99
RGBrgb(254, 253, 153)
HSLhsl(59, 98%, 80%)
HSVhsv(59, 40%, 100%)
CMYKcmyk(0%, 0.4%, 39.8%, 0.4%)
CIE-LABlab(97.48, -13.64, 47.91)
CIE-LCHlch(97.48, 49.81, 105.89°)
OKLaboklab(97.35% -0.0377 0.1163)
OKLCHoklch(97.35% 0.122 108)
XYZxyz(81.7494, 93.6230, 43.8955)
Luminance0.9362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD99 #999AFE
analogous
#FECB99 #FEFD99 #CDFE99
triadic
#FEFD99 #99FEFD #FD99FE
tetradic
#FEFD99 #99FECB #999AFE #FE99CD
square
#FEFD99 #99FECB #999AFE #FE99CD
split-complementary
#FEFD99 #99CDFE #CB99FE
monochromatic
#FDFB20 #FDFC5C #FEFD99 #FFFED6 #FFFEE1

Accessibility & contrast

On white

1.06
#FEFD99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.72
#FEFD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD99
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD99#FFFFFF#000000##000000
##FEFD991.001.0619.7219.72
#FFFFFF1.061.0021.0021.00
#00000019.7221.001.001.00
##00000019.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF691
Deuteranopia (green-blind)
#FFFA9D
Tritanopia (blue-blind)
#FFF1E5
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fefd99;
/* rgb */ color: rgb(254, 253, 153);
/* oklch */ color: oklch(97.4% 0.122 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffeb8',
    500: '#fefd99',
    950: '#000000',
  },
}
SCSS
$custom: #fefd99;
$custom-light: #fffeb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd99",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 153
  },
  "hsl": {
    "h": 59.406,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.97351,
    "c": 0.12229,
    "h": 108
  },
  "luminance": 0.93621
}

Semantic roles & 50–950 ramp

primary
#FEFD99
secondary
#5B5CE0
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEFD99

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

Preview Lab → · Contrast checker → · Palette generator →

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