#FFFD9F#FFFD9F

#FFFD9F is a very light, moderate yellow. Relative luminance 0.940; OKLCH L 97.5% C 0.116 H 107.3°. Best body text is #000000 at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#FFFD9F
RGBrgb(255, 253, 159)
HSLhsl(59, 100%, 81%)
HSVhsv(59, 38%, 100%)
CMYKcmyk(0%, 0.8%, 37.6%, 0%)
CIE-LABlab(97.64, -12.63, 45.22)
CIE-LCHlch(97.64, 46.95, 105.60°)
OKLaboklab(97.52% -0.0344 0.1105)
OKLCHoklch(97.52% 0.116 107.3)
XYZxyz(82.6244, 94.0155, 46.5885)
Luminance0.9401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD9F #9FA1FF
analogous
#FFCD9F #FFFD9F #D1FF9F
triadic
#FFFD9F #9FFFFD #FD9FFF
tetradic
#FFFD9F #9FFFCD #9FA1FF #FF9FD1
square
#FFFD9F #9FFFCD #9FA1FF #FF9FD1
split-complementary
#FFFD9F #9FD1FF #CD9FFF
monochromatic
#FFFA25 #FFFC62 #FFFD9F #FFFEDC #FFFEE0

Accessibility & contrast

On white

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

On black

19.80
#FFFD9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD9F
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD9F#FFFFFF#000000##000000
##FFFD9F1.001.0619.8019.80
#FFFFFF1.061.0021.0021.00
#00000019.8021.001.001.00
##00000019.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF698
Deuteranopia (green-blind)
#FFFAA3
Tritanopia (blue-blind)
#FFF2E6
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffd9f;
/* rgb */ color: rgb(255, 253, 159);
/* oklch */ color: oklch(97.5% 0.116 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffebc',
    500: '#fffd9f',
    950: '#000000',
  },
}
SCSS
$custom: #fffd9f;
$custom-light: #fffebc;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd9f",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 159
  },
  "hsl": {
    "h": 58.75,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.97522,
    "c": 0.11573,
    "h": 107.3
  },
  "luminance": 0.94014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFD9F

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

Preview Lab → · Contrast checker → · Palette generator →

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