#FEF79D#FEF79D

#FEF79D is a very light, moderate yellow. Relative luminance 0.900; OKLCH L 96.2% C 0.111 H 104.5°. Best body text is #000000 at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#FEF79D
RGBrgb(254, 247, 157)
HSLhsl(56, 98%, 81%)
HSVhsv(56, 38%, 100%)
CMYKcmyk(0%, 2.8%, 38.2%, 0.4%)
CIE-LABlab(96.01, -10.28, 44.10)
CIE-LCHlch(96.01, 45.28, 103.12°)
OKLaboklab(96.2% -0.0278 0.1078)
OKLCHoklch(96.2% 0.111 104.5)
XYZxyz(80.2209, 90.0286, 45.0432)
Luminance0.9003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF79D #9DA4FE
analogous
#FEC69D #FEF79D #D4FE9D
triadic
#FEF79D #9DFEF7 #F79DFE
tetradic
#FEF79D #9DFEC6 #9DA4FE #FE9DD4
square
#FEF79D #9DFEC6 #9DA4FE #FE9DD4
split-complementary
#FEF79D #9DD4FE #C69DFE
monochromatic
#FDED24 #FDF260 #FEF79D #FFFCDA #FFFDE1

Accessibility & contrast

On white

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

On black

19.01
#FEF79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF79D
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF79D#FFFFFF#000000##000000
##FEF79D1.001.1019.0119.01
#FFFFFF1.101.0021.0021.00
#00000019.0121.001.001.00
##00000019.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF196
Deuteranopia (green-blind)
#FFF6A1
Tritanopia (blue-blind)
#FFECE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef79d;
/* rgb */ color: rgb(254, 247, 157);
/* oklch */ color: oklch(96.2% 0.111 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff9bb',
    500: '#fef79d',
    950: '#000000',
  },
}
SCSS
$custom: #fef79d;
$custom-light: #fff9bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fef79d",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 157
  },
  "hsl": {
    "h": 55.67,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.962,
    "c": 0.11136,
    "h": 104.5
  },
  "luminance": 0.90027
}

Semantic roles & 50–950 ramp

primary
#FEF79D
secondary
#5E68E1
accent
#11E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEF79D

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

Preview Lab → · Contrast checker → · Palette generator →

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