#FEF48D#FEF48D

#FEF48D is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.4% C 0.125 H 103.6°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#FEF48D
RGBrgb(254, 244, 141)
HSLhsl(55, 98%, 77%)
HSVhsv(55, 44%, 100%)
CMYKcmyk(0%, 3.9%, 44.5%, 0.4%)
CIE-LABlab(95.03, -10.41, 50.61)
CIE-LCHlch(95.03, 51.67, 101.62°)
OKLaboklab(95.36% -0.0295 0.1217)
OKLCHoklch(95.36% 0.125 103.6)
XYZxyz(78.0332, 87.6975, 38.0109)
Luminance0.8770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF48D #8D97FE
analogous
#FEBB8D #FEF48D #D0FE8D
triadic
#FEF48D #8DFEF4 #F48DFE
tetradic
#FEF48D #8DFEBB #8D97FE #FE8DD0
square
#FEF48D #8DFEBB #8D97FE #FE8DD0
split-complementary
#FEF48D #8DD0FE #BB8DFE
monochromatic
#FDE814 #FDEE50 #FEF48D #FFFACA #FFFCE1

Accessibility & contrast

On white

1.13
#FEF48D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.54
#FEF48D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF48D
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF48D#FFFFFF#000000##000000
##FEF48D1.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE85
Deuteranopia (green-blind)
#FFF391
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef48d;
/* rgb */ color: rgb(254, 244, 141);
/* oklch */ color: oklch(95.4% 0.125 103.6);
Tailwind
colors: {
  custom: {
    50: '#fff7b0',
    500: '#fef48d',
    950: '#000000',
  },
}
SCSS
$custom: #fef48d;
$custom-light: #fff7b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fef48d",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 141
  },
  "hsl": {
    "h": 54.69,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.95357,
    "c": 0.12521,
    "h": 103.6
  },
  "luminance": 0.87695
}

Semantic roles & 50–950 ramp

primary
#FEF48D
secondary
#505DDF
accent
#14E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FEF48D

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

Preview Lab → · Contrast checker → · Palette generator →

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