#FEF490#FEF490

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

Color values

HEX#FEF490
RGBrgb(254, 244, 144)
HSLhsl(55, 98%, 78%)
HSVhsv(55, 43%, 100%)
CMYKcmyk(0%, 3.9%, 43.3%, 0.4%)
CIE-LABlab(95.07, -10.12, 49.22)
CIE-LCHlch(95.07, 50.25, 101.62°)
OKLaboklab(95.4% -0.0284 0.1188)
OKLCHoklch(95.4% 0.122 103.4)
XYZxyz(78.2595, 87.7880, 39.2025)
Luminance0.8779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF490 #909AFE
analogous
#FEBD90 #FEF490 #D1FE90
triadic
#FEF490 #90FEF4 #F490FE
tetradic
#FEF490 #90FEBD #909AFE #FE90D1
square
#FEF490 #90FEBD #909AFE #FE90D1
split-complementary
#FEF490 #90D1FE #BD90FE
monochromatic
#FDE817 #FDEE53 #FEF490 #FFFACD #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF490#FFFFFF#000000##000000
##FEF4901.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)
#FFEE88
Deuteranopia (green-blind)
#FFF394
Tritanopia (blue-blind)
#FFE8DC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef490;
/* rgb */ color: rgb(254, 244, 144);
/* oklch */ color: oklch(95.4% 0.122 103.4);
Tailwind
colors: {
  custom: {
    50: '#fff7b2',
    500: '#fef490',
    950: '#000000',
  },
}
SCSS
$custom: #fef490;
$custom-light: #fff7b2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef490",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 144
  },
  "hsl": {
    "h": 54.545,
    "s": 98.214,
    "l": 78.039
  },
  "oklch": {
    "l": 0.954,
    "c": 0.12211,
    "h": 103.4
  },
  "luminance": 0.87786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF490

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

Preview Lab → · Contrast checker → · Palette generator →

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