#FEFF98#FEFF98

#FEFF98 is a very light, vivid yellow. Relative luminance 0.949; OKLCH L 97.7% C 0.126 H 109.0°. Best body text is #000000 at 19.97:1 contrast (WCAG AA passes).

Color values

HEX#FEFF98
RGBrgb(254, 255, 152)
HSLhsl(61, 100%, 80%)
HSVhsv(61, 40%, 100%)
CMYKcmyk(0.4%, 0%, 40.4%, 0%)
CIE-LABlab(97.98, -14.71, 49.02)
CIE-LCHlch(97.98, 51.18, 106.71°)
OKLaboklab(97.74% -0.0409 0.1188)
OKLCHoklch(97.74% 0.126 109)
XYZxyz(82.3018, 94.8595, 43.6739)
Luminance0.9486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFF98 #9998FF
analogous
#FFCD98 #FEFF98 #CAFF98
triadic
#FEFF98 #98FEFF #FF98FE
tetradic
#FEFF98 #98FFCD #9998FF #FF98CA
square
#FEFF98 #98FFCD #9998FF #FF98CA
split-complementary
#FEFF98 #98CAFF #CD98FF
monochromatic
#FDFF1E #FDFF5B #FEFF98 #FFFFD5 #FFFFE0

Accessibility & contrast

On white

1.05
#FEFF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.97
#FEFF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFF98
19.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFF98#FFFFFF#000000##000000
##FEFF981.001.0519.9719.97
#FFFFFF1.051.0021.0021.00
#00000019.9721.001.001.00
##00000019.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #feff98;
/* rgb */ color: rgb(254, 255, 152);
/* oklch */ color: oklch(97.7% 0.126 109.0);
Tailwind
colors: {
  custom: {
    50: '#ffffb8',
    500: '#feff98',
    950: '#000000',
  },
}
SCSS
$custom: #feff98;
$custom-light: #ffffb8;
$custom-dark: #000000;
JSON
{
  "hex": "#feff98",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 152
  },
  "hsl": {
    "h": 60.583,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.97742,
    "c": 0.1256,
    "h": 109
  },
  "luminance": 0.94858
}

Semantic roles & 50–950 ramp

primary
#FEFF98
secondary
#5B59E2
accent
#00E602
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEFF98

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

Preview Lab → · Contrast checker → · Palette generator →

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