#FDF7AA#FDF7AA

#FDF7AA is a very light, moderate yellow. Relative luminance 0.903; OKLCH L 96.3% C 0.097 H 104.3°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#FDF7AA
RGBrgb(253, 247, 170)
HSLhsl(56, 95%, 83%)
HSVhsv(56, 33%, 99%)
CMYKcmyk(0%, 2.4%, 32.8%, 0.8%)
CIE-LABlab(96.12, -9.20, 37.81)
CIE-LCHlch(96.12, 38.91, 103.68°)
OKLaboklab(96.34% -0.0239 0.0938)
OKLCHoklch(96.34% 0.097 104.3)
XYZxyz(81.0253, 90.3082, 51.1854)
Luminance0.9031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF7AA #AAB0FD
analogous
#FDCDAA #FDF7AA #D9FDAA
triadic
#FDF7AA #AAFDF7 #F7AAFD
tetradic
#FDF7AA #AAFDCD #AAB0FD #FDAAD9
square
#FDF7AA #AAFDCD #AAB0FD #FDAAD9
split-complementary
#FDF7AA #AAD9FD #CDAAFD
monochromatic
#FAEC32 #FCF16E #FDF7AA #FEFCE1 #FEFCE1

Accessibility & contrast

On white

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

On black

19.06
#FDF7AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF7AA
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF7AA#FFFFFF#000000##000000
##FDF7AA1.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf7aa;
/* rgb */ color: rgb(253, 247, 170);
/* oklch */ color: oklch(96.3% 0.097 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff9c4',
    500: '#fdf7aa',
    950: '#000000',
  },
}
SCSS
$custom: #fdf7aa;
$custom-light: #fff9c4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf7aa",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 170
  },
  "hsl": {
    "h": 55.663,
    "s": 95.402,
    "l": 82.941
  },
  "oklch": {
    "l": 0.96336,
    "c": 0.09678,
    "h": 104.3
  },
  "luminance": 0.90306
}

Semantic roles & 50–950 ramp

primary
#FDF7AA
secondary
#6A73E1
accent
#11E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FDF7AA

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

Preview Lab → · Contrast checker → · Palette generator →

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