#FEF994#FEF994

#FEF994 is a very light, vivid yellow. Relative luminance 0.910; OKLCH L 96.5% C 0.123 H 106.0°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#FEF994
RGBrgb(254, 249, 148)
HSLhsl(57, 98%, 79%)
HSVhsv(57, 42%, 100%)
CMYKcmyk(0%, 2%, 41.7%, 0.4%)
CIE-LABlab(96.39, -12.19, 48.95)
CIE-LCHlch(96.39, 50.44, 103.98°)
OKLaboklab(96.47% -0.034 0.1184)
OKLCHoklch(96.47% 0.123 106)
XYZxyz(80.0955, 90.9623, 41.3495)
Luminance0.9096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF994 #9499FE
analogous
#FEC494 #FEF994 #CEFE94
triadic
#FEF994 #94FEF9 #F994FE
tetradic
#FEF994 #94FEC4 #9499FE #FE94CE
square
#FEF994 #94FEC4 #9499FE #FE94CE
split-complementary
#FEF994 #94CEFE #C494FE
monochromatic
#FDF21B #FDF657 #FEF994 #FFFCD1 #FFFDE1

Accessibility & contrast

On white

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

On black

19.19
#FEF994 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF994
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF994#FFFFFF#000000##000000
##FEF9941.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28C
Deuteranopia (green-blind)
#FFF798
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fef994;
/* rgb */ color: rgb(254, 249, 148);
/* oklch */ color: oklch(96.5% 0.123 106.0);
Tailwind
colors: {
  custom: {
    50: '#fffbb5',
    500: '#fef994',
    950: '#000000',
  },
}
SCSS
$custom: #fef994;
$custom-light: #fffbb5;
$custom-dark: #000000;
JSON
{
  "hex": "#fef994",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 148
  },
  "hsl": {
    "h": 57.17,
    "s": 98.148,
    "l": 78.824
  },
  "oklch": {
    "l": 0.96467,
    "c": 0.12317,
    "h": 106
  },
  "luminance": 0.9096
}

Semantic roles & 50–950 ramp

primary
#FEF994
secondary
#565DE0
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF994

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

Preview Lab → · Contrast checker → · Palette generator →

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