#FEF491#FEF491

#FEF491 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.4% C 0.121 H 103.4°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#FEF491
RGBrgb(254, 244, 145)
HSLhsl(54, 98%, 78%)
HSVhsv(54, 43%, 100%)
CMYKcmyk(0%, 3.9%, 42.9%, 0.4%)
CIE-LABlab(95.08, -10.02, 48.76)
CIE-LCHlch(95.08, 49.78, 101.62°)
OKLaboklab(95.41% -0.028 0.1178)
OKLCHoklch(95.41% 0.121 103.4)
XYZxyz(78.3362, 87.8187, 39.6068)
Luminance0.8782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF491 #919BFE
analogous
#FEBD91 #FEF491 #D2FE91
triadic
#FEF491 #91FEF4 #F491FE
tetradic
#FEF491 #91FEBD #919BFE #FE91D2
square
#FEF491 #91FEBD #919BFE #FE91D2
split-complementary
#FEF491 #91D2FE #BD91FE
monochromatic
#FDE818 #FDEE54 #FEF491 #FFFACE #FFFCE1

Accessibility & contrast

On white

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

On black

18.56
#FEF491 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF491
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF491#FFFFFF#000000##000000
##FEF4911.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE89
Deuteranopia (green-blind)
#FFF395
Tritanopia (blue-blind)
#FFE8DC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef491;
/* rgb */ color: rgb(254, 244, 145);
/* oklch */ color: oklch(95.4% 0.121 103.4);
Tailwind
colors: {
  custom: {
    50: '#fff7b3',
    500: '#fef491',
    950: '#000000',
  },
}
SCSS
$custom: #fef491;
$custom-light: #fff7b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef491",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 145
  },
  "hsl": {
    "h": 54.495,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.95414,
    "c": 0.12106,
    "h": 103.4
  },
  "luminance": 0.87817
}

Semantic roles & 50–950 ramp

primary
#FEF491
secondary
#5461DF
accent
#15E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF491

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

Preview Lab → · Contrast checker → · Palette generator →

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