#FEF79F#FEF79F

#FEF79F is a very light, moderate yellow. Relative luminance 0.901; OKLCH L 96.2% C 0.109 H 104.3°. Best body text is #000000 at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#FEF79F
RGBrgb(254, 247, 159)
HSLhsl(56, 98%, 81%)
HSVhsv(56, 37%, 100%)
CMYKcmyk(0%, 2.8%, 37.4%, 0.4%)
CIE-LABlab(96.04, -10.06, 43.15)
CIE-LCHlch(96.04, 44.31, 103.13°)
OKLaboklab(96.23% -0.027 0.1058)
OKLCHoklch(96.23% 0.109 104.3)
XYZxyz(80.3930, 90.0975, 45.9498)
Luminance0.9010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF79F #9FA6FE
analogous
#FEC79F #FEF79F #D5FE9F
triadic
#FEF79F #9FFEF7 #F79FFE
tetradic
#FEF79F #9FFEC7 #9FA6FE #FE9FD5
square
#FEF79F #9FFEC7 #9FA6FE #FE9FD5
split-complementary
#FEF79F #9FD5FE #C79FFE
monochromatic
#FDED26 #FDF262 #FEF79F #FFFCDC #FFFCE1

Accessibility & contrast

On white

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

On black

19.02
#FEF79F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF79F
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF79F#FFFFFF#000000##000000
##FEF79F1.001.1019.0219.02
#FFFFFF1.101.0021.0021.00
#00000019.0221.001.001.00
##00000019.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF198
Deuteranopia (green-blind)
#FFF6A3
Tritanopia (blue-blind)
#FFECE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef79f;
/* rgb */ color: rgb(254, 247, 159);
/* oklch */ color: oklch(96.2% 0.109 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff9bc',
    500: '#fef79f',
    950: '#000000',
  },
}
SCSS
$custom: #fef79f;
$custom-light: #fff9bc;
$custom-dark: #000000;
JSON
{
  "hex": "#fef79f",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 159
  },
  "hsl": {
    "h": 55.579,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.96232,
    "c": 0.10917,
    "h": 104.3
  },
  "luminance": 0.90096
}

Semantic roles & 50–950 ramp

primary
#FEF79F
secondary
#6069E1
accent
#11E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEF79F

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

Preview Lab → · Contrast checker → · Palette generator →

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