#FFFA99#FFFA99

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

Color values

HEX#FFFA99
RGBrgb(255, 250, 153)
HSLhsl(57, 100%, 80%)
HSVhsv(57, 40%, 100%)
CMYKcmyk(0%, 2%, 40%, 0%)
CIE-LABlab(96.79, -11.79, 47.06)
CIE-LCHlch(96.79, 48.51, 104.06°)
OKLaboklab(96.82% -0.0325 0.1144)
OKLCHoklch(96.82% 0.119 105.9)
XYZxyz(81.1767, 91.9330, 43.5995)
Luminance0.9193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA99 #999EFF
analogous
#FFC799 #FFFA99 #D1FF99
triadic
#FFFA99 #99FFFA #FA99FF
tetradic
#FFFA99 #99FFC7 #999EFF #FF99D1
square
#FFFA99 #99FFC7 #999EFF #FF99D1
split-complementary
#FFFA99 #99D1FF #C799FF
monochromatic
#FFF41F #FFF75C #FFFA99 #FFFDD6 #FFFEE0

Accessibility & contrast

On white

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

On black

19.39
#FFFA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA99
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA99#FFFFFF#000000##000000
##FFFA991.001.0819.3919.39
#FFFFFF1.081.0021.0021.00
#00000019.3921.001.001.00
##00000019.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffa99;
/* rgb */ color: rgb(255, 250, 153);
/* oklch */ color: oklch(96.8% 0.119 105.9);
Tailwind
colors: {
  custom: {
    50: '#fffbb8',
    500: '#fffa99',
    950: '#000000',
  },
}
SCSS
$custom: #fffa99;
$custom-light: #fffbb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa99",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 153
  },
  "hsl": {
    "h": 57.059,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.96824,
    "c": 0.1189,
    "h": 105.9
  },
  "luminance": 0.91931
}

Semantic roles & 50–950 ramp

primary
#FFFA99
secondary
#5A61E2
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFA99

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

Preview Lab → · Contrast checker → · Palette generator →

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