#FEF88D#FEF88D

#FEF88D is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 96.2% C 0.129 H 105.8°. Best body text is #000000 at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#FEF88D
RGBrgb(254, 248, 141)
HSLhsl(57, 98%, 77%)
HSVhsv(57, 44%, 100%)
CMYKcmyk(0%, 2.4%, 44.5%, 0.4%)
CIE-LABlab(96.05, -12.37, 51.87)
CIE-LCHlch(96.05, 53.32, 103.42°)
OKLaboklab(96.17% -0.0351 0.1245)
OKLCHoklch(96.17% 0.129 105.8)
XYZxyz(79.2499, 90.1308, 38.4165)
Luminance0.9013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF88D #8D93FE
analogous
#FEBF8D #FEF88D #CCFE8D
triadic
#FEF88D #8DFEF8 #F88DFE
tetradic
#FEF88D #8DFEBF #8D93FE #FE8DCC
square
#FEF88D #8DFEBF #8D93FE #FE8DCC
split-complementary
#FEF88D #8DCCFE #BF8DFE
monochromatic
#FDF114 #FDF450 #FEF88D #FFFCCA #FFFDE1

Accessibility & contrast

On white

1.10
#FEF88D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.03
#FEF88D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF88D
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF88D#FFFFFF#000000##000000
##FEF88D1.001.1019.0319.03
#FFFFFF1.101.0021.0021.00
#00000019.0321.001.001.00
##00000019.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF184
Deuteranopia (green-blind)
#FFF692
Tritanopia (blue-blind)
#FFECDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef88d;
/* rgb */ color: rgb(254, 248, 141);
/* oklch */ color: oklch(96.2% 0.129 105.8);
Tailwind
colors: {
  custom: {
    50: '#fffab0',
    500: '#fef88d',
    950: '#000000',
  },
}
SCSS
$custom: #fef88d;
$custom-light: #fffab0;
$custom-dark: #000000;
JSON
{
  "hex": "#fef88d",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 141
  },
  "hsl": {
    "h": 56.814,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.96165,
    "c": 0.12934,
    "h": 105.8
  },
  "luminance": 0.90129
}

Semantic roles & 50–950 ramp

primary
#FEF88D
secondary
#5058DF
accent
#0CE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FEF88D

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

Preview Lab → · Contrast checker → · Palette generator →

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