#FFFB98#FFFB98

#FFFB98 is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 97.0% C 0.121 H 106.4°. Best body text is #000000 at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#FFFB98
RGBrgb(255, 251, 152)
HSLhsl(58, 100%, 80%)
HSVhsv(58, 40%, 100%)
CMYKcmyk(0%, 1.6%, 40.4%, 0%)
CIE-LABlab(97.03, -12.38, 47.84)
CIE-LCHlch(97.03, 49.42, 104.51°)
OKLaboklab(97.01% -0.0342 0.1161)
OKLCHoklch(97.01% 0.121 106.4)
XYZxyz(81.4060, 92.5233, 43.2702)
Luminance0.9252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB98 #989CFF
analogous
#FFC898 #FFFB98 #D0FF98
triadic
#FFFB98 #98FFFB #FB98FF
tetradic
#FFFB98 #98FFC8 #989CFF #FF98D0
square
#FFFB98 #98FFC8 #989CFF #FF98D0
split-complementary
#FFFB98 #98D0FF #C898FF
monochromatic
#FFF61E #FFF95B #FFFB98 #FFFDD5 #FFFEE0

Accessibility & contrast

On white

1.08
#FFFB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.50
#FFFB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB98
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB98#FFFFFF#000000##000000
##FFFB981.001.0819.5019.50
#FFFFFF1.081.0021.0021.00
#00000019.5021.001.001.00
##00000019.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF490
Deuteranopia (green-blind)
#FFF99C
Tritanopia (blue-blind)
#FFEFE3
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffb98;
/* rgb */ color: rgb(255, 251, 152);
/* oklch */ color: oklch(97.0% 0.121 106.4);
Tailwind
colors: {
  custom: {
    50: '#fffcb8',
    500: '#fffb98',
    950: '#000000',
  },
}
SCSS
$custom: #fffb98;
$custom-light: #fffcb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb98",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 152
  },
  "hsl": {
    "h": 57.67,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.9701,
    "c": 0.12106,
    "h": 106.4
  },
  "luminance": 0.92521
}

Semantic roles & 50–950 ramp

primary
#FFFB98
secondary
#595FE2
accent
#09E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFB98

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

Preview Lab → · Contrast checker → · Palette generator →

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