#FDF8A7#FDF8A7

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

Color values

HEX#FDF8A7
RGBrgb(253, 248, 167)
HSLhsl(57, 96%, 82%)
HSVhsv(57, 34%, 99%)
CMYKcmyk(0%, 2%, 34%, 0.8%)
CIE-LABlab(96.33, -10.04, 39.57)
CIE-LCHlch(96.33, 40.82, 104.24°)
OKLaboklab(96.49% -0.0264 0.0978)
OKLCHoklch(96.49% 0.101 105.1)
XYZxyz(81.0513, 90.8092, 49.8100)
Luminance0.9081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF8A7 #A7ACFD
analogous
#FDCDA7 #FDF8A7 #D7FDA7
triadic
#FDF8A7 #A7FDF8 #F8A7FD
tetradic
#FDF8A7 #A7FDCD #A7ACFD #FDA7D7
square
#FDF8A7 #A7FDCD #A7ACFD #FDA7D7
split-complementary
#FDF8A7 #A7D7FD #CDA7FD
monochromatic
#FAEE2F #FCF36B #FDF8A7 #FEFDE1 #FEFDE1

Accessibility & contrast

On white

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

On black

19.16
#FDF8A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF8A7
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF8A7#FFFFFF#000000##000000
##FDF8A71.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf8a7;
/* rgb */ color: rgb(253, 248, 167);
/* oklch */ color: oklch(96.5% 0.101 105.1);
Tailwind
colors: {
  custom: {
    50: '#fffac2',
    500: '#fdf8a7',
    950: '#000000',
  },
}
SCSS
$custom: #fdf8a7;
$custom-light: #fffac2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf8a7",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 167
  },
  "hsl": {
    "h": 56.512,
    "s": 95.556,
    "l": 82.353
  },
  "oklch": {
    "l": 0.96485,
    "c": 0.10131,
    "h": 105.1
  },
  "luminance": 0.90807
}

Semantic roles & 50–950 ramp

primary
#FDF8A7
secondary
#676EE1
accent
#0DE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FDF8A7

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

Preview Lab → · Contrast checker → · Palette generator →

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