#FFFA8F#FFFA8F

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

Color values

HEX#FFFA8F
RGBrgb(255, 250, 143)
HSLhsl(57, 100%, 78%)
HSVhsv(57, 44%, 100%)
CMYKcmyk(0%, 2%, 43.9%, 0%)
CIE-LABlab(96.66, -12.78, 51.69)
CIE-LCHlch(96.66, 53.25, 103.88°)
OKLaboklab(96.68% -0.0361 0.1242)
OKLCHoklch(96.68% 0.129 106.2)
XYZxyz(80.3852, 91.6164, 39.4305)
Luminance0.9161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA8F #8F94FF
analogous
#FFC28F #FFFA8F #CCFF8F
triadic
#FFFA8F #8FFFFA #FA8FFF
tetradic
#FFFA8F #8FFFC2 #8F94FF #FF8FCC
square
#FFFA8F #8FFFC2 #8F94FF #FF8FCC
split-complementary
#FFFA8F #8FCCFF #C28FFF
monochromatic
#FFF515 #FFF752 #FFFA8F #FFFDCC #FFFEE0

Accessibility & contrast

On white

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

On black

19.32
#FFFA8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA8F
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA8F#FFFFFF#000000##000000
##FFFA8F1.001.0919.3219.32
#FFFFFF1.091.0021.0021.00
#00000019.3221.001.001.00
##00000019.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF386
Deuteranopia (green-blind)
#FFF894
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffa8f;
/* rgb */ color: rgb(255, 250, 143);
/* oklch */ color: oklch(96.7% 0.129 106.2);
Tailwind
colors: {
  custom: {
    50: '#fffbb1',
    500: '#fffa8f',
    950: '#000000',
  },
}
SCSS
$custom: #fffa8f;
$custom-light: #fffbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa8f",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 143
  },
  "hsl": {
    "h": 57.321,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.96678,
    "c": 0.12936,
    "h": 106.2
  },
  "luminance": 0.91614
}

Semantic roles & 50–950 ramp

primary
#FFFA8F
secondary
#5258E0
accent
#0AE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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