#FEF480#FEF480

#FEF480 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.2% C 0.138 H 104.3°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#FEF480
RGBrgb(254, 244, 128)
HSLhsl(55, 98%, 75%)
HSVhsv(55, 50%, 100%)
CMYKcmyk(0%, 3.9%, 49.6%, 0.4%)
CIE-LABlab(94.88, -11.57, 56.54)
CIE-LCHlch(94.88, 57.71, 101.57°)
OKLaboklab(95.19% -0.0341 0.1338)
OKLCHoklch(95.19% 0.138 104.3)
XYZxyz(77.1221, 87.3331, 33.2123)
Luminance0.8733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF480 #808AFE
analogous
#FEB580 #FEF480 #C9FE80
triadic
#FEF480 #80FEF4 #F480FE
tetradic
#FEF480 #80FEB5 #808AFE #FE80C9
square
#FEF480 #80FEB5 #808AFE #FE80C9
split-complementary
#FEF480 #80C9FE #B580FE
monochromatic
#FDE907 #FEEF43 #FEF480 #FEF9BD #FFFCE1

Accessibility & contrast

On white

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

On black

18.47
#FEF480 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF480
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF480#FFFFFF#000000##000000
##FEF4801.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED76
Deuteranopia (green-blind)
#FFF385
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef480;
/* rgb */ color: rgb(254, 244, 128);
/* oklch */ color: oklch(95.2% 0.138 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff7a7',
    500: '#fef480',
    950: '#000000',
  },
}
SCSS
$custom: #fef480;
$custom-light: #fff7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fef480",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 128
  },
  "hsl": {
    "h": 55.238,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.95185,
    "c": 0.13808,
    "h": 104.3
  },
  "luminance": 0.87331
}

Semantic roles & 50–950 ramp

primary
#FEF480
secondary
#4551DD
accent
#12E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF480

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

Preview Lab → · Contrast checker → · Palette generator →

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