#FDF8A3#FDF8A3

#FDF8A3 is a very light, moderate yellow. Relative luminance 0.907; OKLCH L 96.4% C 0.106 H 105.3°. Best body text is #000000 at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#FDF8A3
RGBrgb(253, 248, 163)
HSLhsl(57, 96%, 82%)
HSVhsv(57, 36%, 99%)
CMYKcmyk(0%, 2%, 35.6%, 0.8%)
CIE-LABlab(96.27, -10.49, 41.47)
CIE-LCHlch(96.27, 42.78, 104.20°)
OKLaboklab(96.42% -0.028 0.1021)
OKLCHoklch(96.42% 0.106 105.3)
XYZxyz(80.6873, 90.6636, 47.8926)
Luminance0.9066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF8A3 #A3A8FD
analogous
#FDCBA3 #FDF8A3 #D5FDA3
triadic
#FDF8A3 #A3FDF8 #F8A3FD
tetradic
#FDF8A3 #A3FDCB #A3A8FD #FDA3D5
square
#FDF8A3 #A3FDCB #A3A8FD #FDA3D5
split-complementary
#FDF8A3 #A3D5FD #CBA3FD
monochromatic
#FAEF2B #FCF367 #FDF8A3 #FEFDDF #FEFDE1

Accessibility & contrast

On white

1.10
#FDF8A3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.13
#FDF8A3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF8A3
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF8A3#FFFFFF#000000##000000
##FDF8A31.001.1019.1319.13
#FFFFFF1.101.0021.0021.00
#00000019.1321.001.001.00
##00000019.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF29D
Deuteranopia (green-blind)
#FFF6A6
Tritanopia (blue-blind)
#FFEDE3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf8a3;
/* rgb */ color: rgb(253, 248, 163);
/* oklch */ color: oklch(96.4% 0.106 105.3);
Tailwind
colors: {
  custom: {
    50: '#fffabf',
    500: '#fdf8a3',
    950: '#000000',
  },
}
SCSS
$custom: #fdf8a3;
$custom-light: #fffabf;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf8a3",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 163
  },
  "hsl": {
    "h": 56.667,
    "s": 95.745,
    "l": 81.569
  },
  "oklch": {
    "l": 0.96418,
    "c": 0.10583,
    "h": 105.3
  },
  "luminance": 0.90662
}

Semantic roles & 50–950 ramp

primary
#FDF8A3
secondary
#646BE0
accent
#0DE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FDF8A3

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

Preview Lab → · Contrast checker → · Palette generator →

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