#F8FE76#F8FE76

#F8FE76 is a very light, vivid yellow. Relative luminance 0.921; OKLCH L 96.6% C 0.158 H 111.3°. Best body text is #000000 at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#F8FE76
RGBrgb(248, 254, 118)
HSLhsl(63, 99%, 73%)
HSVhsv(63, 54%, 100%)
CMYKcmyk(2.4%, 0%, 53.5%, 0.4%)
CIE-LABlab(96.88, -19.59, 63.27)
CIE-LCHlch(96.88, 66.24, 107.21°)
OKLaboklab(96.63% -0.0576 0.1475)
OKLCHoklch(96.63% 0.158 111.3)
XYZxyz(77.4250, 92.1497, 30.8441)
Luminance0.9215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FE76 #7C76FE
analogous
#FEC076 #F8FE76 #B4FE76
triadic
#F8FE76 #76F8FE #FE76F8
tetradic
#F8FE76 #76FEC0 #7C76FE #FE76B4
square
#F8FE76 #76FEC0 #7C76FE #FE76B4
split-complementary
#F8FE76 #76B4FE #C076FE
monochromatic
#EDF802 #F5FE39 #F8FE76 #FBFEB3 #FDFFE1

Accessibility & contrast

On white

1.08
#F8FE76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.43
#F8FE76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FE76
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FE76#FFFFFF#000000##000000
##F8FE761.001.0819.4319.43
#FFFFFF1.081.0021.0021.00
#00000019.4321.001.001.00
##00000019.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF468
Deuteranopia (green-blind)
#FFF87E
Tritanopia (blue-blind)
#FFF1E0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f8fe76;
/* rgb */ color: rgb(248, 254, 118);
/* oklch */ color: oklch(96.6% 0.158 111.3);
Tailwind
colors: {
  custom: {
    50: '#fdfea1',
    500: '#f8fe76',
    950: '#000000',
  },
}
SCSS
$custom: #f8fe76;
$custom-light: #fdfea1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fe76",
  "rgb": {
    "r": 248,
    "g": 254,
    "b": 118
  },
  "hsl": {
    "h": 62.647,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.96633,
    "c": 0.15839,
    "h": 111.3
  },
  "luminance": 0.92148
}

Semantic roles & 50–950 ramp

primary
#F8FE76
secondary
#443DDB
accent
#00E60A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FE76

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

Preview Lab → · Contrast checker → · Palette generator →

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