#FFFC98#FFFC98

#FFFC98 is a very light, vivid yellow. Relative luminance 0.931; OKLCH L 97.2% C 0.122 H 107.0°. Best body text is #000000 at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#FFFC98
RGBrgb(255, 252, 152)
HSLhsl(58, 100%, 80%)
HSVhsv(58, 40%, 100%)
CMYKcmyk(0%, 1.2%, 40.4%, 0%)
CIE-LABlab(97.29, -12.87, 48.17)
CIE-LCHlch(97.29, 49.85, 104.96°)
OKLaboklab(97.21% -0.0357 0.1168)
OKLCHoklch(97.21% 0.122 107)
XYZxyz(81.7193, 93.1497, 43.3746)
Luminance0.9315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC98 #989BFF
analogous
#FFC898 #FFFC98 #CFFF98
triadic
#FFFC98 #98FFFC #FC98FF
tetradic
#FFFC98 #98FFC8 #989BFF #FF98CF
square
#FFFC98 #98FFC8 #989BFF #FF98CF
split-complementary
#FFFC98 #98CFFF #C898FF
monochromatic
#FFF81E #FFFA5B #FFFC98 #FFFED5 #FFFEE0

Accessibility & contrast

On white

1.07
#FFFC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.63
#FFFC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC98
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC98#FFFFFF#000000##000000
##FFFC981.001.0719.6319.63
#FFFFFF1.071.0021.0021.00
#00000019.6321.001.001.00
##00000019.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF590
Deuteranopia (green-blind)
#FFF99C
Tritanopia (blue-blind)
#FFF0E4
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc98;
/* rgb */ color: rgb(255, 252, 152);
/* oklch */ color: oklch(97.2% 0.122 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffdb8',
    500: '#fffc98',
    950: '#000000',
  },
}
SCSS
$custom: #fffc98;
$custom-light: #fffdb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc98",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 152
  },
  "hsl": {
    "h": 58.252,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.97213,
    "c": 0.12215,
    "h": 107
  },
  "luminance": 0.93148
}

Semantic roles & 50–950 ramp

primary
#FFFC98
secondary
#595DE2
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFC98

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

Preview Lab → · Contrast checker → · Palette generator →

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