#FAFF98#FAFF98

#FAFF98 is a very light, vivid yellow. Relative luminance 0.941; OKLCH L 97.4% C 0.126 H 110.9°. Best body text is #000000 at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#FAFF98
RGBrgb(250, 255, 152)
HSLhsl(63, 100%, 80%)
HSVhsv(63, 40%, 100%)
CMYKcmyk(2%, 0%, 40.4%, 0%)
CIE-LABlab(97.68, -16.23, 48.57)
CIE-LCHlch(97.68, 51.21, 108.48°)
OKLaboklab(97.43% -0.0451 0.1178)
OKLCHoklch(97.43% 0.126 110.9)
XYZxyz(80.8529, 94.1124, 43.6059)
Luminance0.9411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFF98 #9D98FF
analogous
#FFD198 #FAFF98 #C6FF98
triadic
#FAFF98 #98FAFF #FF98FA
tetradic
#FAFF98 #98FFD1 #9D98FF #FF98C6
square
#FAFF98 #98FFD1 #9D98FF #FF98C6
split-complementary
#FAFF98 #98C6FF #D198FF
monochromatic
#F4FF1E #F7FF5B #FAFF98 #FDFFD5 #FEFFE0

Accessibility & contrast

On white

1.06
#FAFF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.82
#FAFF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFF98
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFF98#FFFFFF#000000##000000
##FAFF981.001.0619.8219.82
#FFFFFF1.061.0021.0021.00
#00000019.8221.001.001.00
##00000019.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF790
Deuteranopia (green-blind)
#FFFA9D
Tritanopia (blue-blind)
#FFF4E6
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #faff98;
/* rgb */ color: rgb(250, 255, 152);
/* oklch */ color: oklch(97.4% 0.126 110.9);
Tailwind
colors: {
  custom: {
    50: '#fdffb8',
    500: '#faff98',
    950: '#000000',
  },
}
SCSS
$custom: #faff98;
$custom-light: #fdffb8;
$custom-dark: #000000;
JSON
{
  "hex": "#faff98",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 152
  },
  "hsl": {
    "h": 62.913,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.97429,
    "c": 0.12612,
    "h": 110.9
  },
  "luminance": 0.94111
}

Semantic roles & 50–950 ramp

primary
#FAFF98
secondary
#6059E2
accent
#00E60B
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAFF98

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

Preview Lab → · Contrast checker → · Palette generator →

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