#FEF992#FEF992

#FEF992 is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.4% C 0.125 H 106.1°. Best body text is #000000 at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#FEF992
RGBrgb(254, 249, 146)
HSLhsl(57, 98%, 78%)
HSVhsv(57, 43%, 100%)
CMYKcmyk(0%, 2%, 42.5%, 0.4%)
CIE-LABlab(96.37, -12.38, 49.88)
CIE-LCHlch(96.37, 51.39, 103.94°)
OKLaboklab(96.44% -0.0347 0.1204)
OKLCHoklch(96.44% 0.125 106.1)
XYZxyz(79.9386, 90.8995, 40.5229)
Luminance0.9090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF992 #9297FE
analogous
#FEC392 #FEF992 #CDFE92
triadic
#FEF992 #92FEF9 #F992FE
tetradic
#FEF992 #92FEC3 #9297FE #FE92CD
square
#FEF992 #92FEC3 #9297FE #FE92CD
split-complementary
#FEF992 #92CDFE #C392FE
monochromatic
#FDF219 #FDF655 #FEF992 #FFFCCF #FFFDE1

Accessibility & contrast

On white

1.09
#FEF992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.18
#FEF992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF992
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF992#FFFFFF#000000##000000
##FEF9921.001.0919.1819.18
#FFFFFF1.091.0021.0021.00
#00000019.1821.001.001.00
##00000019.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28A
Deuteranopia (green-blind)
#FFF797
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fef992;
/* rgb */ color: rgb(254, 249, 146);
/* oklch */ color: oklch(96.4% 0.125 106.1);
Tailwind
colors: {
  custom: {
    50: '#fffbb3',
    500: '#fef992',
    950: '#000000',
  },
}
SCSS
$custom: #fef992;
$custom-light: #fffbb3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef992",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 146
  },
  "hsl": {
    "h": 57.222,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.96438,
    "c": 0.12526,
    "h": 106.1
  },
  "luminance": 0.90898
}

Semantic roles & 50–950 ramp

primary
#FEF992
secondary
#555BDF
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF992

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

Preview Lab → · Contrast checker → · Palette generator →

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