#FFFD9C#FFFD9C

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

Color values

HEX#FFFD9C
RGBrgb(255, 253, 156)
HSLhsl(59, 100%, 81%)
HSVhsv(59, 39%, 100%)
CMYKcmyk(0%, 0.8%, 38.8%, 0%)
CIE-LABlab(97.60, -12.94, 46.62)
CIE-LCHlch(97.60, 48.39, 105.52°)
OKLaboklab(97.48% -0.0356 0.1136)
OKLCHoklch(97.48% 0.119 107.4)
XYZxyz(82.3672, 93.9126, 45.2340)
Luminance0.9391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD9C #9C9EFF
analogous
#FFCB9C #FFFD9C #CFFF9C
triadic
#FFFD9C #9CFFFD #FD9CFF
tetradic
#FFFD9C #9CFFCB #9C9EFF #FF9CCF
square
#FFFD9C #9CFFCB #9C9EFF #FF9CCF
split-complementary
#FFFD9C #9CCFFF #CB9CFF
monochromatic
#FFFB22 #FFFC5F #FFFD9C #FFFED9 #FFFEE0

Accessibility & contrast

On white

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

On black

19.78
#FFFD9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD9C
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD9C#FFFFFF#000000##000000
##FFFD9C1.001.0619.7819.78
#FFFFFF1.061.0021.0021.00
#00000019.7821.001.001.00
##00000019.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffd9c;
/* rgb */ color: rgb(255, 253, 156);
/* oklch */ color: oklch(97.5% 0.119 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffeba',
    500: '#fffd9c',
    950: '#000000',
  },
}
SCSS
$custom: #fffd9c;
$custom-light: #fffeba;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd9c",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 156
  },
  "hsl": {
    "h": 58.788,
    "s": 100,
    "l": 80.588
  },
  "oklch": {
    "l": 0.97475,
    "c": 0.11899,
    "h": 107.4
  },
  "luminance": 0.93911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFD9C

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

Preview Lab → · Contrast checker → · Palette generator →

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