#FDF8A8#FDF8A8

#FDF8A8 is a very light, moderate yellow. Relative luminance 0.908; OKLCH L 96.5% C 0.100 H 105.1°. Best body text is #000000 at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#FDF8A8
RGBrgb(253, 248, 168)
HSLhsl(56, 96%, 83%)
HSVhsv(56, 34%, 99%)
CMYKcmyk(0%, 2%, 33.6%, 0.8%)
CIE-LABlab(96.35, -9.93, 39.09)
CIE-LCHlch(96.35, 40.34, 104.25°)
OKLaboklab(96.5% -0.026 0.0967)
OKLCHoklch(96.5% 0.1 105.1)
XYZxyz(81.1441, 90.8463, 50.2987)
Luminance0.9084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF8A8 #A8ADFD
analogous
#FDCEA8 #FDF8A8 #D7FDA8
triadic
#FDF8A8 #A8FDF8 #F8A8FD
tetradic
#FDF8A8 #A8FDCE #A8ADFD #FDA8D7
square
#FDF8A8 #A8FDCE #A8ADFD #FDA8D7
split-complementary
#FDF8A8 #A8D7FD #CEA8FD
monochromatic
#FAEE30 #FCF36C #FDF8A8 #FEFDE1 #FEFDE1

Accessibility & contrast

On white

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

On black

19.17
#FDF8A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF8A8
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF8A8#FFFFFF#000000##000000
##FDF8A81.001.1019.1719.17
#FFFFFF1.101.0021.0021.00
#00000019.1721.001.001.00
##00000019.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2A2
Deuteranopia (green-blind)
#FFF6AB
Tritanopia (blue-blind)
#FFEEE4
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf8a8;
/* rgb */ color: rgb(253, 248, 168);
/* oklch */ color: oklch(96.5% 0.100 105.1);
Tailwind
colors: {
  custom: {
    50: '#fffac2',
    500: '#fdf8a8',
    950: '#000000',
  },
}
SCSS
$custom: #fdf8a8;
$custom-light: #fffac2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf8a8",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 168
  },
  "hsl": {
    "h": 56.471,
    "s": 95.506,
    "l": 82.549
  },
  "oklch": {
    "l": 0.96502,
    "c": 0.10018,
    "h": 105.1
  },
  "luminance": 0.90845
}

Semantic roles & 50–950 ramp

primary
#FDF8A8
secondary
#686FE1
accent
#0DE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FDF8A8

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

Preview Lab → · Contrast checker → · Palette generator →

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