#FFFA98#FFFA98

#FFFA98 is a very light, moderate yellow. Relative luminance 0.919; OKLCH L 96.8% C 0.120 H 105.9°. Best body text is #000000 at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#FFFA98
RGBrgb(255, 250, 152)
HSLhsl(57, 100%, 80%)
HSVhsv(57, 40%, 100%)
CMYKcmyk(0%, 2%, 40.4%, 0%)
CIE-LABlab(96.78, -11.89, 47.52)
CIE-LCHlch(96.78, 48.99, 104.05°)
OKLaboklab(96.81% -0.0328 0.1154)
OKLCHoklch(96.81% 0.12 105.9)
XYZxyz(81.0945, 91.9001, 43.1663)
Luminance0.9190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA98 #989DFF
analogous
#FFC698 #FFFA98 #D1FF98
triadic
#FFFA98 #98FFFA #FA98FF
tetradic
#FFFA98 #98FFC6 #989DFF #FF98D1
square
#FFFA98 #98FFC6 #989DFF #FF98D1
split-complementary
#FFFA98 #98D1FF #C698FF
monochromatic
#FFF41E #FFF75B #FFFA98 #FFFDD5 #FFFEE0

Accessibility & contrast

On white

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

On black

19.38
#FFFA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA98
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA98#FFFFFF#000000##000000
##FFFA981.001.0819.3819.38
#FFFFFF1.081.0021.0021.00
#00000019.3821.001.001.00
##00000019.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF390
Deuteranopia (green-blind)
#FFF89C
Tritanopia (blue-blind)
#FFEEE2
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffa98;
/* rgb */ color: rgb(255, 250, 152);
/* oklch */ color: oklch(96.8% 0.120 105.9);
Tailwind
colors: {
  custom: {
    50: '#fffbb7',
    500: '#fffa98',
    950: '#000000',
  },
}
SCSS
$custom: #fffa98;
$custom-light: #fffbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa98",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 57.087,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.96808,
    "c": 0.11997,
    "h": 105.9
  },
  "luminance": 0.91898
}

Semantic roles & 50–950 ramp

primary
#FFFA98
secondary
#5960E2
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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