#FEF88F#FEF88F

#FEF88F is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.2% C 0.127 H 105.7°. Best body text is #000000 at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#FEF88F
RGBrgb(254, 248, 143)
HSLhsl(57, 98%, 78%)
HSVhsv(57, 44%, 100%)
CMYKcmyk(0%, 2.4%, 43.7%, 0.4%)
CIE-LABlab(96.08, -12.18, 50.95)
CIE-LCHlch(96.08, 52.38, 103.45°)
OKLaboklab(96.19% -0.0344 0.1226)
OKLCHoklch(96.19% 0.127 105.7)
XYZxyz(79.4000, 90.1909, 39.2073)
Luminance0.9019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF88F #8F95FE
analogous
#FEC18F #FEF88F #CCFE8F
triadic
#FEF88F #8FFEF8 #F88FFE
tetradic
#FEF88F #8FFEC1 #8F95FE #FE8FCC
square
#FEF88F #8FFEC1 #8F95FE #FE8FCC
split-complementary
#FEF88F #8FCCFE #C18FFE
monochromatic
#FDF016 #FDF452 #FEF88F #FFFCCC #FFFDE1

Accessibility & contrast

On white

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

On black

19.04
#FEF88F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF88F
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF88F#FFFFFF#000000##000000
##FEF88F1.001.1019.0419.04
#FFFFFF1.101.0021.0021.00
#00000019.0421.001.001.00
##00000019.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef88f;
/* rgb */ color: rgb(254, 248, 143);
/* oklch */ color: oklch(96.2% 0.127 105.7);
Tailwind
colors: {
  custom: {
    50: '#fffab1',
    500: '#fef88f',
    950: '#000000',
  },
}
SCSS
$custom: #fef88f;
$custom-light: #fffab1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef88f",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 143
  },
  "hsl": {
    "h": 56.757,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.96193,
    "c": 0.1273,
    "h": 105.7
  },
  "luminance": 0.90189
}

Semantic roles & 50–950 ramp

primary
#FEF88F
secondary
#525ADF
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF88F

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

Preview Lab → · Contrast checker → · Palette generator →

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