#FFFA8D#FFFA8D

#FFFA8D is a very light, vivid yellow. Relative luminance 0.916; OKLCH L 96.7% C 0.131 H 106.3°. Best body text is #000000 at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#FFFA8D
RGBrgb(255, 250, 141)
HSLhsl(57, 100%, 78%)
HSVhsv(57, 45%, 100%)
CMYKcmyk(0%, 2%, 44.7%, 0%)
CIE-LABlab(96.64, -12.96, 52.61)
CIE-LCHlch(96.64, 54.18, 103.84°)
OKLaboklab(96.65% -0.0369 0.1261)
OKLCHoklch(96.65% 0.131 106.3)
XYZxyz(80.2350, 91.5564, 38.6397)
Luminance0.9155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA8D #8D92FF
analogous
#FFC18D #FFFA8D #CBFF8D
triadic
#FFFA8D #8DFFFA #FA8DFF
tetradic
#FFFA8D #8DFFC1 #8D92FF #FF8DCB
square
#FFFA8D #8DFFC1 #8D92FF #FF8DCB
split-complementary
#FFFA8D #8DCBFF #C18DFF
monochromatic
#FFF513 #FFF750 #FFFA8D #FFFDCA #FFFEE0

Accessibility & contrast

On white

1.09
#FFFA8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.31
#FFFA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA8D
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA8D#FFFFFF#000000##000000
##FFFA8D1.001.0919.3119.31
#FFFFFF1.091.0021.0021.00
#00000019.3121.001.001.00
##00000019.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF384
Deuteranopia (green-blind)
#FFF892
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffa8d;
/* rgb */ color: rgb(255, 250, 141);
/* oklch */ color: oklch(96.7% 0.131 106.3);
Tailwind
colors: {
  custom: {
    50: '#fffbb0',
    500: '#fffa8d',
    950: '#000000',
  },
}
SCSS
$custom: #fffa8d;
$custom-light: #fffbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa8d",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 141
  },
  "hsl": {
    "h": 57.368,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.96651,
    "c": 0.1314,
    "h": 106.3
  },
  "luminance": 0.91554
}

Semantic roles & 50–950 ramp

primary
#FFFA8D
secondary
#5056E0
accent
#0AE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FFFA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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