#FDF978#FDF978

#FDF978 is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 96.0% C 0.151 H 107.3°. Best body text is #000000 at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#FDF978
RGBrgb(253, 249, 120)
HSLhsl(58, 97%, 73%)
HSVhsv(58, 53%, 99%)
CMYKcmyk(0%, 1.6%, 52.6%, 0.8%)
CIE-LABlab(95.99, -15.06, 61.47)
CIE-LCHlch(95.99, 63.28, 103.77°)
OKLaboklab(96.02% -0.0448 0.1438)
OKLCHoklch(96.02% 0.151 107.3)
XYZxyz(77.7760, 89.9922, 31.0389)
Luminance0.8999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF978 #787CFD
analogous
#FDB678 #FDF978 #BFFD78
triadic
#FDF978 #78FDF9 #F978FD
tetradic
#FDF978 #78FDB6 #787CFD #FD78BF
square
#FDF978 #78FDB6 #787CFD #FD78BF
split-complementary
#FDF978 #78BFFD #B678FD
monochromatic
#F7F004 #FCF63C #FDF978 #FEFCB4 #FFFEE1

Accessibility & contrast

On white

1.11
#FDF978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.00
#FDF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF978
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF978#FFFFFF#000000##000000
##FDF9781.001.1119.0019.00
#FFFFFF1.111.0021.0021.00
#00000019.0021.001.001.00
##00000019.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16B
Deuteranopia (green-blind)
#FFF67F
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf978;
/* rgb */ color: rgb(253, 249, 120);
/* oklch */ color: oklch(96.0% 0.151 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffba2',
    500: '#fdf978',
    950: '#000000',
  },
}
SCSS
$custom: #fdf978;
$custom-light: #fffba2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf978",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 58.195,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.96024,
    "c": 0.15059,
    "h": 107.3
  },
  "luminance": 0.8999
}

Semantic roles & 50–950 ramp

primary
#FDF978
secondary
#3F44DA
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF978

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

Preview Lab → · Contrast checker → · Palette generator →

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