#FFFA9A#FFFA9A

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

Color values

HEX#FFFA9A
RGBrgb(255, 250, 154)
HSLhsl(57, 100%, 80%)
HSVhsv(57, 40%, 100%)
CMYKcmyk(0%, 2%, 39.6%, 0%)
CIE-LABlab(96.81, -11.68, 46.59)
CIE-LCHlch(96.81, 48.03, 104.08°)
OKLaboklab(96.84% -0.0321 0.1134)
OKLCHoklch(96.84% 0.118 105.8)
XYZxyz(81.2597, 91.9662, 44.0363)
Luminance0.9196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA9A #9A9FFF
analogous
#FFC89A #FFFA9A #D1FF9A
triadic
#FFFA9A #9AFFFA #FA9AFF
tetradic
#FFFA9A #9AFFC8 #9A9FFF #FF9AD1
square
#FFFA9A #9AFFC8 #9A9FFF #FF9AD1
split-complementary
#FFFA9A #9AD1FF #C89AFF
monochromatic
#FFF420 #FFF75D #FFFA9A #FFFDD7 #FFFDE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFA9A#FFFFFF#000000##000000
##FFFA9A1.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)
#FFF393
Deuteranopia (green-blind)
#FFF89E
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffa9a;
/* rgb */ color: rgb(255, 250, 154);
/* oklch */ color: oklch(96.8% 0.118 105.8);
Tailwind
colors: {
  custom: {
    50: '#fffbb9',
    500: '#fffa9a',
    950: '#000000',
  },
}
SCSS
$custom: #fffa9a;
$custom-light: #fffbb9;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa9a",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 154
  },
  "hsl": {
    "h": 57.03,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.96839,
    "c": 0.11783,
    "h": 105.8
  },
  "luminance": 0.91964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFA9A

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

Preview Lab → · Contrast checker → · Palette generator →

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