#FFF98D#FFF98D

#FFF98D is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.4% C 0.130 H 105.8°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#FFF98D
RGBrgb(255, 249, 141)
HSLhsl(57, 100%, 78%)
HSVhsv(57, 45%, 100%)
CMYKcmyk(0%, 2.4%, 44.7%, 0%)
CIE-LABlab(96.38, -12.48, 52.29)
CIE-LCHlch(96.38, 53.76, 103.42°)
OKLaboklab(96.45% -0.0355 0.1254)
OKLCHoklch(96.45% 0.13 105.8)
XYZxyz(79.9251, 90.9365, 38.5364)
Luminance0.9093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF98D #8D93FF
analogous
#FFC08D #FFF98D #CCFF8D
triadic
#FFF98D #8DFFF9 #F98DFF
tetradic
#FFF98D #8DFFC0 #8D93FF #FF8DCC
square
#FFF98D #8DFFC0 #8D93FF #FF8DCC
split-complementary
#FFF98D #8DCCFF #C08DFF
monochromatic
#FFF313 #FFF650 #FFF98D #FFFCCA #FFFDE0

Accessibility & contrast

On white

1.09
#FFF98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.19
#FFF98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF98D
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF98D#FFFFFF#000000##000000
##FFF98D1.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF284
Deuteranopia (green-blind)
#FFF792
Tritanopia (blue-blind)
#FFECDF
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fff98d;
/* rgb */ color: rgb(255, 249, 141);
/* oklch */ color: oklch(96.4% 0.130 105.8);
Tailwind
colors: {
  custom: {
    50: '#fffbb0',
    500: '#fff98d',
    950: '#000000',
  },
}
SCSS
$custom: #fff98d;
$custom-light: #fffbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fff98d",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 141
  },
  "hsl": {
    "h": 56.842,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.96448,
    "c": 0.13034,
    "h": 105.8
  },
  "luminance": 0.90934
}

Semantic roles & 50–950 ramp

primary
#FFF98D
secondary
#5058E0
accent
#0CE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FFF98D

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

Preview Lab → · Contrast checker → · Palette generator →

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