#FFFA96#FFFA96

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

Color values

HEX#FFFA96
RGBrgb(255, 250, 150)
HSLhsl(57, 100%, 79%)
HSVhsv(57, 41%, 100%)
CMYKcmyk(0%, 2%, 41.2%, 0%)
CIE-LABlab(96.75, -12.09, 48.45)
CIE-LCHlch(96.75, 49.94, 104.01°)
OKLaboklab(96.78% -0.0336 0.1174)
OKLCHoklch(96.78% 0.122 106)
XYZxyz(80.9321, 91.8352, 42.3109)
Luminance0.9183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA96 #969BFF
analogous
#FFC696 #FFFA96 #D0FF96
triadic
#FFFA96 #96FFFA #FA96FF
tetradic
#FFFA96 #96FFC6 #969BFF #FF96D0
square
#FFFA96 #96FFC6 #969BFF #FF96D0
split-complementary
#FFFA96 #96D0FF #C696FF
monochromatic
#FFF41C #FFF759 #FFFA96 #FFFDD3 #FFFEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFA96#FFFFFF#000000##000000
##FFFA961.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)
#FFF38E
Deuteranopia (green-blind)
#FFF89A
Tritanopia (blue-blind)
#FFEEE2
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffa96;
/* rgb */ color: rgb(255, 250, 150);
/* oklch */ color: oklch(96.8% 0.122 106.0);
Tailwind
colors: {
  custom: {
    50: '#fffbb6',
    500: '#fffa96',
    950: '#000000',
  },
}
SCSS
$custom: #fffa96;
$custom-light: #fffbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa96",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 150
  },
  "hsl": {
    "h": 57.143,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96779,
    "c": 0.12209,
    "h": 106
  },
  "luminance": 0.91833
}

Semantic roles & 50–950 ramp

primary
#FFFA96
secondary
#585EE1
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFA96

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

Preview Lab → · Contrast checker → · Palette generator →

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