#FEF984#FEF984

#FEF984 is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.2% C 0.139 H 106.6°. Best body text is #000000 at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#FEF984
RGBrgb(254, 249, 132)
HSLhsl(58, 98%, 76%)
HSVhsv(58, 48%, 100%)
CMYKcmyk(0%, 2%, 48%, 0.4%)
CIE-LABlab(96.20, -13.68, 56.27)
CIE-LCHlch(96.20, 57.91, 103.66°)
OKLaboklab(96.25% -0.0397 0.1335)
OKLCHoklch(96.25% 0.139 106.6)
XYZxyz(78.9155, 90.4903, 35.1346)
Luminance0.9049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF984 #8489FE
analogous
#FEBC84 #FEF984 #C6FE84
triadic
#FEF984 #84FEF9 #F984FE
tetradic
#FEF984 #84FEBC #8489FE #FE84C6
square
#FEF984 #84FEBC #8489FE #FE84C6
split-complementary
#FEF984 #84C6FE #BC84FE
monochromatic
#FDF30B #FEF647 #FEF984 #FEFCC1 #FFFEE1

Accessibility & contrast

On white

1.10
#FEF984 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.10
#FEF984 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF984
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF984#FFFFFF#000000##000000
##FEF9841.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17A
Deuteranopia (green-blind)
#FFF68A
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef984;
/* rgb */ color: rgb(254, 249, 132);
/* oklch */ color: oklch(96.2% 0.139 106.6);
Tailwind
colors: {
  custom: {
    50: '#fffbaa',
    500: '#fef984',
    950: '#000000',
  },
}
SCSS
$custom: #fef984;
$custom-light: #fffbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#fef984",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 132
  },
  "hsl": {
    "h": 57.541,
    "s": 98.387,
    "l": 75.686
  },
  "oklch": {
    "l": 0.96249,
    "c": 0.13931,
    "h": 106.6
  },
  "luminance": 0.90488
}

Semantic roles & 50–950 ramp

primary
#FEF984
secondary
#494FDD
accent
#09E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF984

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

Preview Lab → · Contrast checker → · Palette generator →

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