#FFFE98#FFFE98

#FFFE98 is a very light, vivid yellow. Relative luminance 0.944; OKLCH L 97.6% C 0.124 H 108.0°. Best body text is #000000 at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#FFFE98
RGBrgb(255, 254, 152)
HSLhsl(59, 100%, 80%)
HSVhsv(59, 40%, 100%)
CMYKcmyk(0%, 0.4%, 40.4%, 0%)
CIE-LABlab(97.80, -13.84, 48.81)
CIE-LCHlch(97.80, 50.73, 105.84°)
OKLaboklab(97.62% -0.0384 0.1183)
OKLCHoklch(97.62% 0.124 108)
XYZxyz(82.3506, 94.4124, 43.5850)
Luminance0.9441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE98 #9899FF
analogous
#FFCA98 #FFFE98 #CDFF98
triadic
#FFFE98 #98FFFE #FE98FF
tetradic
#FFFE98 #98FFCA #9899FF #FF98CD
square
#FFFE98 #98FFCA #9899FF #FF98CD
split-complementary
#FFFE98 #98CDFF #CA98FF
monochromatic
#FFFD1E #FFFD5B #FFFE98 #FFFFD5 #FFFFE0

Accessibility & contrast

On white

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

On black

19.88
#FFFE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE98
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE98#FFFFFF#000000##000000
##FFFE981.001.0619.8819.88
#FFFFFF1.061.0021.0021.00
#00000019.8821.001.001.00
##00000019.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF690
Deuteranopia (green-blind)
#FFFB9D
Tritanopia (blue-blind)
#FFF2E5
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fffe98;
/* rgb */ color: rgb(255, 254, 152);
/* oklch */ color: oklch(97.6% 0.124 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffeb8',
    500: '#fffe98',
    950: '#000000',
  },
}
SCSS
$custom: #fffe98;
$custom-light: #fffeb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe98",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 152
  },
  "hsl": {
    "h": 59.417,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.97618,
    "c": 0.12437,
    "h": 108
  },
  "luminance": 0.94411
}

Semantic roles & 50–950 ramp

primary
#FFFE98
secondary
#595BE2
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFE98

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

Preview Lab → · Contrast checker → · Palette generator →

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