#F8E779#F8E779

#F8E779 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 92.0% C 0.132 H 100.7°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#F8E779
RGBrgb(248, 231, 121)
HSLhsl(52, 90%, 72%)
HSVhsv(52, 51%, 97%)
CMYKcmyk(0%, 6.9%, 51.2%, 2.7%)
CIE-LABlab(91.00, -8.10, 55.06)
CIE-LCHlch(91.00, 55.65, 98.37°)
OKLaboklab(91.97% -0.0245 0.1301)
OKLCHoklch(91.97% 0.132 100.7)
XYZxyz(70.7407, 78.4913, 29.5095)
Luminance0.7849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E779 #798AF8
analogous
#F8A879 #F8E779 #C9F879
triadic
#F8E779 #79F8E7 #E779F8
tetradic
#F8E779 #79F8A8 #798AF8 #F879C9
square
#F8E779 #79F8A8 #798AF8 #F879C9
split-complementary
#F8E779 #79C9F8 #A879F8
monochromatic
#EACD0C #F5DD3F #F8E779 #FBF1B3 #FDFAE2

Accessibility & contrast

On white

1.26
#F8E779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#F8E779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E779
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E779#FFFFFF#000000##000000
##F8E7791.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E16F
Deuteranopia (green-blind)
#FEE87E
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e779;
/* rgb */ color: rgb(248, 231, 121);
/* oklch */ color: oklch(92.0% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#fdeea2',
    500: '#f8e779',
    950: '#000000',
  },
}
SCSS
$custom: #f8e779;
$custom-light: #fdeea2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e779",
  "rgb": {
    "r": 248,
    "g": 231,
    "b": 121
  },
  "hsl": {
    "h": 51.969,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91966,
    "c": 0.13233,
    "h": 100.7
  },
  "luminance": 0.78489
}

Semantic roles & 50–950 ramp

primary
#F8E779
secondary
#4155D4
accent
#1FE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E779

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

Preview Lab → · Contrast checker → · Palette generator →

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