#FDF7BA#FDF7BA

#FDF7BA is a very light, moderate yellow. Relative luminance 0.909; OKLCH L 96.6% C 0.078 H 103.0°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#FDF7BA
RGBrgb(253, 247, 186)
HSLhsl(55, 94%, 86%)
HSVhsv(55, 26%, 99%)
CMYKcmyk(0%, 2.4%, 26.5%, 0.8%)
CIE-LABlab(96.39, -7.23, 30.13)
CIE-LCHlch(96.39, 30.98, 103.50°)
OKLaboklab(96.63% -0.0176 0.076)
OKLCHoklch(96.63% 0.078 103)
XYZxyz(82.6320, 90.9508, 59.6472)
Luminance0.9095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF7BA #BAC0FD
analogous
#FDD5BA #FDF7BA #E1FDBA
triadic
#FDF7BA #BAFDF7 #F7BAFD
tetradic
#FDF7BA #BAFDD5 #BAC0FD #FDBAE1
square
#FDF7BA #BAFDD5 #BAC0FD #FDBAE1
split-complementary
#FDF7BA #BAE1FD #D5BAFD
monochromatic
#FAE943 #FBF07F #FDF7BA #FEFCE1 #FEFCE1

Accessibility & contrast

On white

1.09
#FDF7BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.19
#FDF7BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF7BA
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF7BA#FFFFFF#000000##000000
##FDF7BA1.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3B6
Deuteranopia (green-blind)
#FFF6BC
Tritanopia (blue-blind)
#FFEFE7
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fdf7ba;
/* rgb */ color: rgb(253, 247, 186);
/* oklch */ color: oklch(96.6% 0.078 103.0);
Tailwind
colors: {
  custom: {
    50: '#fef9cf',
    500: '#fdf7ba',
    950: '#000000',
  },
}
SCSS
$custom: #fdf7ba;
$custom-light: #fef9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf7ba",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 186
  },
  "hsl": {
    "h": 54.627,
    "s": 94.366,
    "l": 86.078
  },
  "oklch": {
    "l": 0.96633,
    "c": 0.07796,
    "h": 103
  },
  "luminance": 0.90949
}

Semantic roles & 50–950 ramp

primary
#FDF7BA
secondary
#7881E3
accent
#15E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181713
muted
#868583

Preview Lab

Preview with #FDF7BA

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

Preview Lab → · Contrast checker → · Palette generator →

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