#FFFA97#FFFA97

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

Color values

HEX#FFFA97
RGBrgb(255, 250, 151)
HSLhsl(57, 100%, 80%)
HSVhsv(57, 41%, 100%)
CMYKcmyk(0%, 2%, 40.8%, 0%)
CIE-LABlab(96.77, -11.99, 47.99)
CIE-LCHlch(96.77, 49.47, 104.03°)
OKLaboklab(96.79% -0.0332 0.1164)
OKLCHoklch(96.79% 0.121 105.9)
XYZxyz(81.0129, 91.8675, 42.7368)
Luminance0.9187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA97 #979CFF
analogous
#FFC697 #FFFA97 #D0FF97
triadic
#FFFA97 #97FFFA #FA97FF
tetradic
#FFFA97 #97FFC6 #979CFF #FF97D0
square
#FFFA97 #97FFC6 #979CFF #FF97D0
split-complementary
#FFFA97 #97D0FF #C697FF
monochromatic
#FFF41D #FFF75A #FFFA97 #FFFDD4 #FFFEE0

Accessibility & contrast

On white

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

On black

19.37
#FFFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA97
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA97#FFFFFF#000000##000000
##FFFA971.001.0819.3719.37
#FFFFFF1.081.0021.0021.00
#00000019.3721.001.001.00
##00000019.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffa97;
/* rgb */ color: rgb(255, 250, 151);
/* oklch */ color: oklch(96.8% 0.121 105.9);
Tailwind
colors: {
  custom: {
    50: '#fffbb7',
    500: '#fffa97',
    950: '#000000',
  },
}
SCSS
$custom: #fffa97;
$custom-light: #fffbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa97",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 57.115,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.96794,
    "c": 0.12103,
    "h": 105.9
  },
  "luminance": 0.91866
}

Semantic roles & 50–950 ramp

primary
#FFFA97
secondary
#595FE2
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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