#F8F776#F8F776

#F8F776 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.2% C 0.151 H 108.6°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#F8F776
RGBrgb(248, 247, 118)
HSLhsl(60, 90%, 72%)
HSVhsv(60, 52%, 97%)
CMYKcmyk(0%, 0.4%, 52.4%, 2.7%)
CIE-LABlab(95.07, -16.22, 61.19)
CIE-LCHlch(95.07, 63.30, 104.84°)
OKLaboklab(95.19% -0.048 0.1431)
OKLCHoklch(95.19% 0.151 108.6)
XYZxyz(75.2441, 87.7879, 30.1171)
Luminance0.8779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F776 #7677F8
analogous
#F8B676 #F8F776 #B8F876
triadic
#F8F776 #76F8F7 #F776F8
tetradic
#F8F776 #76F8B6 #7677F8 #F876B8
square
#F8F776 #76F8B6 #7677F8 #F876B8
split-complementary
#F8F776 #76B8F8 #B676F8
monochromatic
#E8E60C #F5F43C #F8F776 #FBFAB0 #FEFDE2

Accessibility & contrast

On white

1.13
#F8F776 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.56
#F8F776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F776
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F776#FFFFFF#000000##000000
##F8F7761.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE69
Deuteranopia (green-blind)
#FFF37D
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f776;
/* rgb */ color: rgb(248, 247, 118);
/* oklch */ color: oklch(95.2% 0.151 108.6);
Tailwind
colors: {
  custom: {
    50: '#fdf9a1',
    500: '#f8f776',
    950: '#000000',
  },
}
SCSS
$custom: #f8f776;
$custom-light: #fdf9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f776",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 118
  },
  "hsl": {
    "h": 59.538,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95189,
    "c": 0.15091,
    "h": 108.6
  },
  "luminance": 0.87786
}

Semantic roles & 50–950 ramp

primary
#F8F776
secondary
#3F40D4
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F776

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

Preview Lab → · Contrast checker → · Palette generator →

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