#FDF8A5#FDF8A5

#FDF8A5 is a very light, moderate yellow. Relative luminance 0.907; OKLCH L 96.5% C 0.104 H 105.2°. Best body text is #000000 at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#FDF8A5
RGBrgb(253, 248, 165)
HSLhsl(57, 96%, 82%)
HSVhsv(57, 35%, 99%)
CMYKcmyk(0%, 2%, 34.8%, 0.8%)
CIE-LABlab(96.30, -10.27, 40.52)
CIE-LCHlch(96.30, 41.80, 104.22°)
OKLaboklab(96.45% -0.0272 0.0999)
OKLCHoklch(96.45% 0.104 105.2)
XYZxyz(80.8679, 90.7358, 48.8438)
Luminance0.9073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF8A5 #A5AAFD
analogous
#FDCCA5 #FDF8A5 #D6FDA5
triadic
#FDF8A5 #A5FDF8 #F8A5FD
tetradic
#FDF8A5 #A5FDCC #A5AAFD #FDA5D6
square
#FDF8A5 #A5FDCC #A5AAFD #FDA5D6
split-complementary
#FDF8A5 #A5D6FD #CCA5FD
monochromatic
#FAEF2D #FCF369 #FDF8A5 #FEFDE1 #FEFDE1

Accessibility & contrast

On white

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

On black

19.15
#FDF8A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF8A5
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF8A5#FFFFFF#000000##000000
##FDF8A51.001.1019.1519.15
#FFFFFF1.101.0021.0021.00
#00000019.1521.001.001.00
##00000019.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF29F
Deuteranopia (green-blind)
#FFF6A8
Tritanopia (blue-blind)
#FFEEE3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf8a5;
/* rgb */ color: rgb(253, 248, 165);
/* oklch */ color: oklch(96.5% 0.104 105.2);
Tailwind
colors: {
  custom: {
    50: '#fffac0',
    500: '#fdf8a5',
    950: '#000000',
  },
}
SCSS
$custom: #fdf8a5;
$custom-light: #fffac0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf8a5",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 165
  },
  "hsl": {
    "h": 56.591,
    "s": 95.652,
    "l": 81.961
  },
  "oklch": {
    "l": 0.96451,
    "c": 0.10358,
    "h": 105.2
  },
  "luminance": 0.90734
}

Semantic roles & 50–950 ramp

primary
#FDF8A5
secondary
#666DE1
accent
#0DE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FDF8A5

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

Preview Lab → · Contrast checker → · Palette generator →

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