#FDF8A6#FDF8A6

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

Color values

HEX#FDF8A6
RGBrgb(253, 248, 166)
HSLhsl(57, 96%, 82%)
HSVhsv(57, 34%, 99%)
CMYKcmyk(0%, 2%, 34.4%, 0.8%)
CIE-LABlab(96.32, -10.16, 40.05)
CIE-LCHlch(96.32, 41.31, 104.23°)
OKLaboklab(96.47% -0.0268 0.0989)
OKLCHoklch(96.47% 0.102 105.2)
XYZxyz(80.9593, 90.7723, 49.3250)
Luminance0.9077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF8A6 #A6ABFD
analogous
#FDCDA6 #FDF8A6 #D6FDA6
triadic
#FDF8A6 #A6FDF8 #F8A6FD
tetradic
#FDF8A6 #A6FDCD #A6ABFD #FDA6D6
square
#FDF8A6 #A6FDCD #A6ABFD #FDA6D6
split-complementary
#FDF8A6 #A6D6FD #CDA6FD
monochromatic
#FAEF2E #FCF36A #FDF8A6 #FEFDE1 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF8A6#FFFFFF#000000##000000
##FDF8A61.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)
#FFF2A0
Deuteranopia (green-blind)
#FFF6A9
Tritanopia (blue-blind)
#FFEEE3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf8a6;
/* rgb */ color: rgb(253, 248, 166);
/* oklch */ color: oklch(96.5% 0.102 105.2);
Tailwind
colors: {
  custom: {
    50: '#fffac1',
    500: '#fdf8a6',
    950: '#000000',
  },
}
SCSS
$custom: #fdf8a6;
$custom-light: #fffac1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf8a6",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 166
  },
  "hsl": {
    "h": 56.552,
    "s": 95.604,
    "l": 82.157
  },
  "oklch": {
    "l": 0.96468,
    "c": 0.10244,
    "h": 105.2
  },
  "luminance": 0.90771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF8A6

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

Preview Lab → · Contrast checker → · Palette generator →

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