#FEF479#FEF479

#FEF479 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.1% C 0.145 H 104.6°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#FEF479
RGBrgb(254, 244, 121)
HSLhsl(55, 99%, 74%)
HSVhsv(55, 52%, 100%)
CMYKcmyk(0%, 3.9%, 52.4%, 0.4%)
CIE-LABlab(94.80, -12.15, 59.65)
CIE-LCHlch(94.80, 60.88, 101.51°)
OKLaboklab(95.1% -0.0364 0.14)
OKLCHoklch(95.1% 0.145 104.6)
XYZxyz(76.6772, 87.1551, 30.8690)
Luminance0.8715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF479 #7983FE
analogous
#FEB179 #FEF479 #C5FE79
triadic
#FEF479 #79FEF4 #F479FE
tetradic
#FEF479 #79FEB1 #7983FE #FE79C5
square
#FEF479 #79FEB1 #7983FE #FE79C5
split-complementary
#FEF479 #79C5FE #B179FE
monochromatic
#FBE802 #FEEF3C #FEF479 #FEF9B6 #FFFDE1

Accessibility & contrast

On white

1.14
#FEF479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.43
#FEF479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF479
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF479#FFFFFF#000000##000000
##FEF4791.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6D
Deuteranopia (green-blind)
#FFF37F
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef479;
/* rgb */ color: rgb(254, 244, 121);
/* oklch */ color: oklch(95.1% 0.145 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff7a3',
    500: '#fef479',
    950: '#000000',
  },
}
SCSS
$custom: #fef479;
$custom-light: #fff7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef479",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 121
  },
  "hsl": {
    "h": 55.489,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.951,
    "c": 0.14461,
    "h": 104.6
  },
  "luminance": 0.87153
}

Semantic roles & 50–950 ramp

primary
#FEF479
secondary
#3F4BDC
accent
#11E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF479

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

Preview Lab → · Contrast checker → · Palette generator →

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