#FEF579#FEF579

#FEF579 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.3% C 0.146 H 105.1°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#FEF579
RGBrgb(254, 245, 121)
HSLhsl(56, 99%, 74%)
HSVhsv(56, 52%, 100%)
CMYKcmyk(0%, 3.5%, 52.4%, 0.4%)
CIE-LABlab(95.06, -12.64, 59.95)
CIE-LCHlch(95.06, 61.27, 101.90°)
OKLaboklab(95.3% -0.0378 0.1406)
OKLCHoklch(95.3% 0.146 105.1)
XYZxyz(76.9789, 87.7585, 30.9696)
Luminance0.8776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF579 #7982FE
analogous
#FEB279 #FEF579 #C4FE79
triadic
#FEF579 #79FEF5 #F579FE
tetradic
#FEF579 #79FEB2 #7982FE #FE79C4
square
#FEF579 #79FEB2 #7982FE #FE79C4
split-complementary
#FEF579 #79C4FE #B279FE
monochromatic
#FBEA02 #FEF03C #FEF579 #FEFAB6 #FFFDE1

Accessibility & contrast

On white

1.13
#FEF579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#FEF579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF579
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF579#FFFFFF#000000##000000
##FEF5791.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6D
Deuteranopia (green-blind)
#FFF47F
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef579;
/* rgb */ color: rgb(254, 245, 121);
/* oklch */ color: oklch(95.3% 0.146 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff8a3',
    500: '#fef579',
    950: '#000000',
  },
}
SCSS
$custom: #fef579;
$custom-light: #fff8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef579",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 121
  },
  "hsl": {
    "h": 55.94,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95303,
    "c": 0.14559,
    "h": 105.1
  },
  "luminance": 0.87756
}

Semantic roles & 50–950 ramp

primary
#FEF579
secondary
#3F4ADC
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF579

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

Preview Lab → · Contrast checker → · Palette generator →

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