#FDF179#FDF179

#FDF179 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.4% C 0.142 H 103.6°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#FDF179
RGBrgb(253, 241, 121)
HSLhsl(55, 97%, 73%)
HSVhsv(55, 52%, 99%)
CMYKcmyk(0%, 4.7%, 52.2%, 0.8%)
CIE-LABlab(93.96, -11.07, 58.65)
CIE-LCHlch(93.96, 59.68, 100.69°)
OKLaboklab(94.41% -0.0333 0.1378)
OKLCHoklch(94.41% 0.142 103.6)
XYZxyz(75.4167, 85.1762, 30.5534)
Luminance0.8517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF179 #7985FD
analogous
#FDAF79 #FDF179 #C7FD79
triadic
#FDF179 #79FDF1 #F179FD
tetradic
#FDF179 #79FDAF #7985FD #FD79C7
square
#FDF179 #79FDAF #7985FD #FD79C7
split-complementary
#FDF179 #79C7FD #AF79FD
monochromatic
#F8E204 #FCEB3D #FDF179 #FEF7B5 #FFFCE1

Accessibility & contrast

On white

1.16
#FDF179 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.03
#FDF179 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF179
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF179#FFFFFF#000000##000000
##FDF1791.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6E
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf179;
/* rgb */ color: rgb(253, 241, 121);
/* oklch */ color: oklch(94.4% 0.142 103.6);
Tailwind
colors: {
  custom: {
    50: '#fff5a3',
    500: '#fdf179',
    950: '#000000',
  },
}
SCSS
$custom: #fdf179;
$custom-light: #fff5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf179",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 121
  },
  "hsl": {
    "h": 54.545,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9441,
    "c": 0.14174,
    "h": 103.6
  },
  "luminance": 0.85174
}

Semantic roles & 50–950 ramp

primary
#FDF179
secondary
#404EDA
accent
#15E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF179

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

Preview Lab → · Contrast checker → · Palette generator →

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