#FEF48C#FEF48C

#FEF48C is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.3% C 0.126 H 103.7°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#FEF48C
RGBrgb(254, 244, 140)
HSLhsl(55, 98%, 77%)
HSVhsv(55, 45%, 100%)
CMYKcmyk(0%, 3.9%, 44.9%, 0.4%)
CIE-LABlab(95.02, -10.50, 51.07)
CIE-LCHlch(95.02, 52.14, 101.62°)
OKLaboklab(95.34% -0.0298 0.1227)
OKLCHoklch(95.34% 0.126 103.7)
XYZxyz(77.9591, 87.6679, 37.6208)
Luminance0.8767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF48C #8C96FE
analogous
#FEBB8C #FEF48C #CFFE8C
triadic
#FEF48C #8CFEF4 #F48CFE
tetradic
#FEF48C #8CFEBB #8C96FE #FE8CCF
square
#FEF48C #8CFEBB #8C96FE #FE8CCF
split-complementary
#FEF48C #8CCFFE #BB8CFE
monochromatic
#FDE813 #FDEE4F #FEF48C #FFFAC9 #FFFCE1

Accessibility & contrast

On white

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

On black

18.53
#FEF48C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF48C
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF48C#FFFFFF#000000##000000
##FEF48C1.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef48c;
/* rgb */ color: rgb(254, 244, 140);
/* oklch */ color: oklch(95.3% 0.126 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff7af',
    500: '#fef48c',
    950: '#000000',
  },
}
SCSS
$custom: #fef48c;
$custom-light: #fff7af;
$custom-dark: #000000;
JSON
{
  "hex": "#fef48c",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 140
  },
  "hsl": {
    "h": 54.737,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.95343,
    "c": 0.12623,
    "h": 103.7
  },
  "luminance": 0.87666
}

Semantic roles & 50–950 ramp

primary
#FEF48C
secondary
#505CDF
accent
#14E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF48C

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

Preview Lab → · Contrast checker → · Palette generator →

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