#FEFC8D#FEFC8D

#FEFC8D is a very light, vivid yellow. Relative luminance 0.926; OKLCH L 97.0% C 0.134 H 107.7°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#FEFC8D
RGBrgb(254, 252, 141)
HSLhsl(59, 98%, 77%)
HSVhsv(59, 44%, 100%)
CMYKcmyk(0%, 0.8%, 44.5%, 0.4%)
CIE-LABlab(97.07, -14.33, 53.12)
CIE-LCHlch(97.07, 55.02, 105.09°)
OKLaboklab(96.98% -0.0407 0.1273)
OKLCHoklch(96.98% 0.134 107.7)
XYZxyz(80.4928, 92.6166, 38.8308)
Luminance0.9262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFC8D #8D8FFE
analogous
#FEC38D #FEFC8D #C8FE8D
triadic
#FEFC8D #8DFEFC #FC8DFE
tetradic
#FEFC8D #8DFEC3 #8D8FFE #FE8DC8
square
#FEFC8D #8DFEC3 #8D8FFE #FE8DC8
split-complementary
#FEFC8D #8DC8FE #C38DFE
monochromatic
#FDF914 #FDFA50 #FEFC8D #FFFECA #FFFEE1

Accessibility & contrast

On white

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

On black

19.52
#FEFC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFC8D
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFC8D#FFFFFF#000000##000000
##FEFC8D1.001.0819.5219.52
#FFFFFF1.081.0021.0021.00
#00000019.5221.001.001.00
##00000019.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF484
Deuteranopia (green-blind)
#FFF992
Tritanopia (blue-blind)
#FFF0E2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefc8d;
/* rgb */ color: rgb(254, 252, 141);
/* oklch */ color: oklch(97.0% 0.134 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffdb0',
    500: '#fefc8d',
    950: '#000000',
  },
}
SCSS
$custom: #fefc8d;
$custom-light: #fffdb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fefc8d",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 141
  },
  "hsl": {
    "h": 58.938,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.96976,
    "c": 0.13362,
    "h": 107.7
  },
  "luminance": 0.92615
}

Semantic roles & 50–950 ramp

primary
#FEFC8D
secondary
#5053DF
accent
#04E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEFC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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