#FFFA9D#FFFA9D

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

Color values

HEX#FFFA9D
RGBrgb(255, 250, 157)
HSLhsl(57, 100%, 81%)
HSVhsv(57, 38%, 100%)
CMYKcmyk(0%, 2%, 38.4%, 0%)
CIE-LABlab(96.85, -11.37, 45.18)
CIE-LCHlch(96.85, 46.59, 104.13°)
OKLaboklab(96.89% -0.031 0.1103)
OKLCHoklch(96.89% 0.115 105.7)
XYZxyz(81.5127, 92.0674, 45.3686)
Luminance0.9207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA9D #9DA2FF
analogous
#FFC99D #FFFA9D #D3FF9D
triadic
#FFFA9D #9DFFFA #FA9DFF
tetradic
#FFFA9D #9DFFC9 #9DA2FF #FF9DD3
square
#FFFA9D #9DFFC9 #9DA2FF #FF9DD3
split-complementary
#FFFA9D #9DD3FF #C99DFF
monochromatic
#FFF423 #FFF760 #FFFA9D #FFFDDA #FFFDE0

Accessibility & contrast

On white

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

On black

19.41
#FFFA9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA9D
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA9D#FFFFFF#000000##000000
##FFFA9D1.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffa9d;
/* rgb */ color: rgb(255, 250, 157);
/* oklch */ color: oklch(96.9% 0.115 105.7);
Tailwind
colors: {
  custom: {
    50: '#fffbbb',
    500: '#fffa9d',
    950: '#000000',
  },
}
SCSS
$custom: #fffa9d;
$custom-light: #fffbbb;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa9d",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 157
  },
  "hsl": {
    "h": 56.939,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.96885,
    "c": 0.11459,
    "h": 105.7
  },
  "luminance": 0.92066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFA9D

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

Preview Lab → · Contrast checker → · Palette generator →

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