#FDF879#FDF879

#FDF879 is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.8% C 0.149 H 106.8°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#FDF879
RGBrgb(253, 248, 121)
HSLhsl(58, 97%, 73%)
HSVhsv(58, 52%, 99%)
CMYKcmyk(0%, 2%, 52.2%, 0.8%)
CIE-LABlab(95.75, -14.50, 60.73)
CIE-LCHlch(95.75, 62.44, 103.42°)
OKLaboklab(95.83% -0.0431 0.1423)
OKLCHoklch(95.83% 0.149 106.8)
XYZxyz(77.5287, 89.4001, 31.2574)
Luminance0.8940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF879 #797EFD
analogous
#FDB679 #FDF879 #C0FD79
triadic
#FDF879 #79FDF8 #F879FD
tetradic
#FDF879 #79FDB6 #797EFD #FD79C0
square
#FDF879 #79FDB6 #797EFD #FD79C0
split-complementary
#FDF879 #79C0FD #B679FD
monochromatic
#F8EF04 #FCF53D #FDF879 #FEFBB5 #FFFDE1

Accessibility & contrast

On white

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

On black

18.88
#FDF879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF879
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF879#FFFFFF#000000##000000
##FDF8791.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06D
Deuteranopia (green-blind)
#FFF57F
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf879;
/* rgb */ color: rgb(253, 248, 121);
/* oklch */ color: oklch(95.8% 0.149 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffaa3',
    500: '#fdf879',
    950: '#000000',
  },
}
SCSS
$custom: #fdf879;
$custom-light: #fffaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf879",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 121
  },
  "hsl": {
    "h": 57.727,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95832,
    "c": 0.14868,
    "h": 106.8
  },
  "luminance": 0.89398
}

Semantic roles & 50–950 ramp

primary
#FDF879
secondary
#4046DA
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF879

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

Preview Lab → · Contrast checker → · Palette generator →

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