#FFFA9F#FFFA9F

#FFFA9F is a very light, moderate yellow. Relative luminance 0.921; OKLCH L 96.9% C 0.112 H 105.6°. Best body text is #000000 at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#FFFA9F
RGBrgb(255, 250, 159)
HSLhsl(57, 100%, 81%)
HSVhsv(57, 38%, 100%)
CMYKcmyk(0%, 2%, 37.6%, 0%)
CIE-LABlab(96.88, -11.16, 44.24)
CIE-LCHlch(96.88, 45.63, 104.15°)
OKLaboklab(96.92% -0.0302 0.1083)
OKLCHoklch(96.92% 0.112 105.6)
XYZxyz(81.6848, 92.1363, 46.2753)
Luminance0.9213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA9F #9FA4FF
analogous
#FFCA9F #FFFA9F #D4FF9F
triadic
#FFFA9F #9FFFFA #FA9FFF
tetradic
#FFFA9F #9FFFCA #9FA4FF #FF9FD4
square
#FFFA9F #9FFFCA #9FA4FF #FF9FD4
split-complementary
#FFFA9F #9FD4FF #CA9FFF
monochromatic
#FFF425 #FFF762 #FFFA9F #FFFDDC #FFFDE0

Accessibility & contrast

On white

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

On black

19.43
#FFFA9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA9F
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA9F#FFFFFF#000000##000000
##FFFA9F1.001.0819.4319.43
#FFFFFF1.081.0021.0021.00
#00000019.4321.001.001.00
##00000019.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF498
Deuteranopia (green-blind)
#FFF8A3
Tritanopia (blue-blind)
#FFEFE3
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffa9f;
/* rgb */ color: rgb(255, 250, 159);
/* oklch */ color: oklch(96.9% 0.112 105.6);
Tailwind
colors: {
  custom: {
    50: '#fffbbc',
    500: '#fffa9f',
    950: '#000000',
  },
}
SCSS
$custom: #fffa9f;
$custom-light: #fffbbc;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa9f",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 159
  },
  "hsl": {
    "h": 56.875,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.96917,
    "c": 0.1124,
    "h": 105.6
  },
  "luminance": 0.92134
}

Semantic roles & 50–950 ramp

primary
#FFFA9F
secondary
#5F66E3
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFA9F

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

Preview Lab → · Contrast checker → · Palette generator →

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