#FEF79E#FEF79E

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

Color values

HEX#FEF79E
RGBrgb(254, 247, 158)
HSLhsl(56, 98%, 81%)
HSVhsv(56, 38%, 100%)
CMYKcmyk(0%, 2.8%, 37.8%, 0.4%)
CIE-LABlab(96.02, -10.17, 43.62)
CIE-LCHlch(96.02, 44.79, 103.12°)
OKLaboklab(96.22% -0.0274 0.1068)
OKLCHoklch(96.22% 0.11 104.4)
XYZxyz(80.3066, 90.0629, 45.4946)
Luminance0.9006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF79E #9EA5FE
analogous
#FEC79E #FEF79E #D5FE9E
triadic
#FEF79E #9EFEF7 #F79EFE
tetradic
#FEF79E #9EFEC7 #9EA5FE #FE9ED5
square
#FEF79E #9EFEC7 #9EA5FE #FE9ED5
split-complementary
#FEF79E #9ED5FE #C79EFE
monochromatic
#FDED25 #FDF261 #FEF79E #FFFCDB #FFFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF79E#FFFFFF#000000##000000
##FEF79E1.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)
#FFF197
Deuteranopia (green-blind)
#FFF6A2
Tritanopia (blue-blind)
#FFECE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef79e;
/* rgb */ color: rgb(254, 247, 158);
/* oklch */ color: oklch(96.2% 0.110 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff9bb',
    500: '#fef79e',
    950: '#000000',
  },
}
SCSS
$custom: #fef79e;
$custom-light: #fff9bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fef79e",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 158
  },
  "hsl": {
    "h": 55.625,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.96216,
    "c": 0.11027,
    "h": 104.4
  },
  "luminance": 0.90061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF79E

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

Preview Lab → · Contrast checker → · Palette generator →

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