#FFFD9D#FFFD9D

#FFFD9D is a very light, moderate yellow. Relative luminance 0.939; OKLCH L 97.5% C 0.118 H 107.4°. Best body text is #000000 at 19.79:1 contrast (WCAG AA passes).

Color values

HEX#FFFD9D
RGBrgb(255, 253, 157)
HSLhsl(59, 100%, 81%)
HSVhsv(59, 38%, 100%)
CMYKcmyk(0%, 0.8%, 38.4%, 0%)
CIE-LABlab(97.61, -12.84, 46.16)
CIE-LCHlch(97.61, 47.91, 105.55°)
OKLaboklab(97.49% -0.0352 0.1125)
OKLCHoklch(97.49% 0.118 107.4)
XYZxyz(82.4523, 93.9466, 45.6818)
Luminance0.9395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD9D #9D9FFF
analogous
#FFCC9D #FFFD9D #D0FF9D
triadic
#FFFD9D #9DFFFD #FD9DFF
tetradic
#FFFD9D #9DFFCC #9D9FFF #FF9DD0
square
#FFFD9D #9DFFCC #9D9FFF #FF9DD0
split-complementary
#FFFD9D #9DD0FF #CC9DFF
monochromatic
#FFFB23 #FFFC60 #FFFD9D #FFFEDA #FFFEE0

Accessibility & contrast

On white

1.06
#FFFD9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.79
#FFFD9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD9D
19.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD9D#FFFFFF#000000##000000
##FFFD9D1.001.0619.7919.79
#FFFFFF1.061.0021.0021.00
#00000019.7921.001.001.00
##00000019.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF696
Deuteranopia (green-blind)
#FFFAA1
Tritanopia (blue-blind)
#FFF2E5
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffd9d;
/* rgb */ color: rgb(255, 253, 157);
/* oklch */ color: oklch(97.5% 0.118 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffebb',
    500: '#fffd9d',
    950: '#000000',
  },
}
SCSS
$custom: #fffd9d;
$custom-light: #fffebb;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd9d",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 157
  },
  "hsl": {
    "h": 58.776,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.97491,
    "c": 0.1179,
    "h": 107.4
  },
  "luminance": 0.93945
}

Semantic roles & 50–950 ramp

primary
#FFFD9D
secondary
#5E60E3
accent
#05E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFD9D

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

Preview Lab → · Contrast checker → · Palette generator →

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