#FEFC8F#FEFC8F

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

Color values

HEX#FEFC8F
RGBrgb(254, 252, 143)
HSLhsl(59, 98%, 78%)
HSVhsv(59, 44%, 100%)
CMYKcmyk(0%, 0.8%, 43.7%, 0.4%)
CIE-LABlab(97.10, -14.14, 52.21)
CIE-LCHlch(97.10, 54.09, 105.15°)
OKLaboklab(97% -0.04 0.1254)
OKLCHoklch(97% 0.132 107.7)
XYZxyz(80.6429, 92.6767, 39.6216)
Luminance0.9267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFC8F #8F91FE
analogous
#FEC48F #FEFC8F #C8FE8F
triadic
#FEFC8F #8FFEFC #FC8FFE
tetradic
#FEFC8F #8FFEC4 #8F91FE #FE8FC8
square
#FEFC8F #8FFEC4 #8F91FE #FE8FC8
split-complementary
#FEFC8F #8FC8FE #C48FFE
monochromatic
#FDF916 #FDFA52 #FEFC8F #FFFECC #FFFEE1

Accessibility & contrast

On white

1.07
#FEFC8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.54
#FEFC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFC8F
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFC8F#FFFFFF#000000##000000
##FEFC8F1.001.0719.5419.54
#FFFFFF1.071.0021.0021.00
#00000019.5421.001.001.00
##00000019.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefc8f;
/* rgb */ color: rgb(254, 252, 143);
/* oklch */ color: oklch(97.0% 0.132 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffdb2',
    500: '#fefc8f',
    950: '#000000',
  },
}
SCSS
$custom: #fefc8f;
$custom-light: #fffdb2;
$custom-dark: #000000;
JSON
{
  "hex": "#fefc8f",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 143
  },
  "hsl": {
    "h": 58.919,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.97004,
    "c": 0.1316,
    "h": 107.7
  },
  "luminance": 0.92675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEFC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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