#FEFC8A#FEFC8A

#FEFC8A is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 96.9% C 0.137 H 107.8°. Best body text is #000000 at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#FEFC8A
RGBrgb(254, 252, 138)
HSLhsl(59, 98%, 77%)
HSVhsv(59, 46%, 100%)
CMYKcmyk(0%, 0.8%, 45.7%, 0.4%)
CIE-LABlab(97.04, -14.60, 54.49)
CIE-LCHlch(97.04, 56.41, 105.00°)
OKLaboklab(96.94% -0.0418 0.1301)
OKLCHoklch(96.94% 0.137 107.8)
XYZxyz(80.2726, 92.5286, 37.6711)
Luminance0.9253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFC8A #8A8CFE
analogous
#FEC28A #FEFC8A #C6FE8A
triadic
#FEFC8A #8AFEFC #FC8AFE
tetradic
#FEFC8A #8AFEC2 #8A8CFE #FE8AC6
square
#FEFC8A #8AFEC2 #8A8CFE #FE8AC6
split-complementary
#FEFC8A #8AC6FE #C28AFE
monochromatic
#FDF911 #FDFA4D #FEFC8A #FFFEC7 #FFFEE1

Accessibility & contrast

On white

1.08
#FEFC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.51
#FEFC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFC8A
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFC8A#FFFFFF#000000##000000
##FEFC8A1.001.0819.5119.51
#FFFFFF1.081.0021.0021.00
#00000019.5121.001.001.00
##00000019.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF480
Deuteranopia (green-blind)
#FFF98F
Tritanopia (blue-blind)
#FFEFE1
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefc8a;
/* rgb */ color: rgb(254, 252, 138);
/* oklch */ color: oklch(96.9% 0.137 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffdae',
    500: '#fefc8a',
    950: '#000000',
  },
}
SCSS
$custom: #fefc8a;
$custom-light: #fffdae;
$custom-dark: #000000;
JSON
{
  "hex": "#fefc8a",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 58.966,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.96936,
    "c": 0.13662,
    "h": 107.8
  },
  "luminance": 0.92527
}

Semantic roles & 50–950 ramp

primary
#FEFC8A
secondary
#4E50DE
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEFC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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