#FDF778#FDF778

#FDF778 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.6% C 0.149 H 106.4°. Best body text is #000000 at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#FDF778
RGBrgb(253, 247, 120)
HSLhsl(57, 97%, 73%)
HSVhsv(57, 53%, 99%)
CMYKcmyk(0%, 2.4%, 52.6%, 0.8%)
CIE-LABlab(95.48, -14.09, 60.87)
CIE-LCHlch(95.48, 62.48, 103.03°)
OKLaboklab(95.62% -0.042 0.1425)
OKLCHoklch(95.62% 0.149 106.4)
XYZxyz(77.1611, 88.7625, 30.8339)
Luminance0.8876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF778 #787EFD
analogous
#FDB478 #FDF778 #C0FD78
triadic
#FDF778 #78FDF7 #F778FD
tetradic
#FDF778 #78FDB4 #787EFD #FD78C0
square
#FDF778 #78FDB4 #787EFD #FD78C0
split-complementary
#FDF778 #78C0FD #B478FD
monochromatic
#F7EC04 #FCF33C #FDF778 #FEFBB4 #FFFDE1

Accessibility & contrast

On white

1.12
#FDF778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.75
#FDF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF778
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF778#FFFFFF#000000##000000
##FDF7781.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6C
Deuteranopia (green-blind)
#FFF57E
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf778;
/* rgb */ color: rgb(253, 247, 120);
/* oklch */ color: oklch(95.6% 0.149 106.4);
Tailwind
colors: {
  custom: {
    50: '#fff9a2',
    500: '#fdf778',
    950: '#000000',
  },
}
SCSS
$custom: #fdf778;
$custom-light: #fff9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf778",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 57.293,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95616,
    "c": 0.14856,
    "h": 106.4
  },
  "luminance": 0.8876
}

Semantic roles & 50–950 ramp

primary
#FDF778
secondary
#3F46DA
accent
#0AE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF778

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

Preview Lab → · Contrast checker → · Palette generator →

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