#FDF976#FDF976

#FDF976 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.0% C 0.152 H 107.4°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FDF976
RGBrgb(253, 249, 118)
HSLhsl(58, 97%, 73%)
HSVhsv(58, 53%, 99%)
CMYKcmyk(0%, 1.6%, 53.4%, 0.8%)
CIE-LABlab(95.97, -15.22, 62.33)
CIE-LCHlch(95.97, 64.16, 103.72°)
OKLaboklab(96% -0.0454 0.1454)
OKLCHoklch(96% 0.152 107.4)
XYZxyz(77.6559, 89.9442, 30.4063)
Luminance0.8994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF976 #767AFD
analogous
#FDB576 #FDF976 #BEFD76
triadic
#FDF976 #76FDF9 #F976FD
tetradic
#FDF976 #76FDB5 #767AFD #FD76BE
square
#FDF976 #76FDB5 #767AFD #FD76BE
split-complementary
#FDF976 #76BEFD #B576FD
monochromatic
#F5EE04 #FCF63A #FDF976 #FEFCB2 #FFFEE1

Accessibility & contrast

On white

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

On black

18.99
#FDF976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF976
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF976#FFFFFF#000000##000000
##FDF9761.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf976;
/* rgb */ color: rgb(253, 249, 118);
/* oklch */ color: oklch(96.0% 0.152 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffba1',
    500: '#fdf976',
    950: '#000000',
  },
}
SCSS
$custom: #fdf976;
$custom-light: #fffba1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf976",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 118
  },
  "hsl": {
    "h": 58.222,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.96002,
    "c": 0.15237,
    "h": 107.4
  },
  "luminance": 0.89942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF976

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

Preview Lab → · Contrast checker → · Palette generator →

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