#FAFF97#FAFF97

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

Color values

HEX#FAFF97
RGBrgb(250, 255, 151)
HSLhsl(63, 100%, 80%)
HSVhsv(63, 41%, 100%)
CMYKcmyk(2%, 0%, 40.8%, 0%)
CIE-LABlab(97.66, -16.33, 49.04)
CIE-LCHlch(97.66, 51.69, 108.42°)
OKLaboklab(97.42% -0.0454 0.1188)
OKLCHoklch(97.42% 0.127 110.9)
XYZxyz(80.7713, 94.0798, 43.1764)
Luminance0.9408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFF97 #9C97FF
analogous
#FFD097 #FAFF97 #C6FF97
triadic
#FAFF97 #97FAFF #FF97FA
tetradic
#FAFF97 #97FFD0 #9C97FF #FF97C6
square
#FAFF97 #97FFD0 #9C97FF #FF97C6
split-complementary
#FAFF97 #97C6FF #D097FF
monochromatic
#F4FF1D #F7FF5A #FAFF97 #FDFFD4 #FEFFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAFF97#FFFFFF#000000##000000
##FAFF971.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)
#FFF78F
Deuteranopia (green-blind)
#FFFA9C
Tritanopia (blue-blind)
#FFF4E6
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #faff97;
/* rgb */ color: rgb(250, 255, 151);
/* oklch */ color: oklch(97.4% 0.127 110.9);
Tailwind
colors: {
  custom: {
    50: '#fdffb7',
    500: '#faff97',
    950: '#000000',
  },
}
SCSS
$custom: #faff97;
$custom-light: #fdffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#faff97",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 62.885,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.97415,
    "c": 0.12718,
    "h": 110.9
  },
  "luminance": 0.94078
}

Semantic roles & 50–950 ramp

primary
#FAFF97
secondary
#5F59E2
accent
#00E60B
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAFF97

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

Preview Lab → · Contrast checker → · Palette generator →

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