#FEF79A#FEF79A

#FEF79A is a very light, moderate yellow. Relative luminance 0.899; OKLCH L 96.2% C 0.115 H 104.6°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FEF79A
RGBrgb(254, 247, 154)
HSLhsl(56, 98%, 80%)
HSVhsv(56, 39%, 100%)
CMYKcmyk(0%, 2.8%, 39.4%, 0.4%)
CIE-LABlab(95.97, -10.59, 45.51)
CIE-LCHlch(95.97, 46.72, 103.10°)
OKLaboklab(96.15% -0.0289 0.1109)
OKLCHoklch(96.15% 0.115 104.6)
XYZxyz(79.9679, 89.9274, 43.7108)
Luminance0.8992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF79A #9AA1FE
analogous
#FEC59A #FEF79A #D3FE9A
triadic
#FEF79A #9AFEF7 #F79AFE
tetradic
#FEF79A #9AFEC5 #9AA1FE #FE9AD3
square
#FEF79A #9AFEC5 #9AA1FE #FE9AD3
split-complementary
#FEF79A #9AD3FE #C59AFE
monochromatic
#FDED21 #FDF25D #FEF79A #FFFCD7 #FFFDE1

Accessibility & contrast

On white

1.11
#FEF79A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.99
#FEF79A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF79A
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF79A#FFFFFF#000000##000000
##FEF79A1.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF193
Deuteranopia (green-blind)
#FFF69E
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef79a;
/* rgb */ color: rgb(254, 247, 154);
/* oklch */ color: oklch(96.2% 0.115 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff9b9',
    500: '#fef79a',
    950: '#000000',
  },
}
SCSS
$custom: #fef79a;
$custom-light: #fff9b9;
$custom-dark: #000000;
JSON
{
  "hex": "#fef79a",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 154
  },
  "hsl": {
    "h": 55.8,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.96153,
    "c": 0.11463,
    "h": 104.6
  },
  "luminance": 0.89925
}

Semantic roles & 50–950 ramp

primary
#FEF79A
secondary
#5C65E1
accent
#10E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF79A

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

Preview Lab → · Contrast checker → · Palette generator →

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