#F8FC74#F8FC74

#F8FC74 is a very light, vivid yellow. Relative luminance 0.908; OKLCH L 96.2% C 0.158 H 110.6°. Best body text is #000000 at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#F8FC74
RGBrgb(248, 252, 116)
HSLhsl(62, 96%, 72%)
HSVhsv(62, 54%, 99%)
CMYKcmyk(1.6%, 0%, 54%, 1.2%)
CIE-LABlab(96.34, -18.79, 63.53)
CIE-LCHlch(96.34, 66.25, 106.47°)
OKLaboklab(96.2% -0.0555 0.1479)
OKLCHoklch(96.2% 0.158 110.6)
XYZxyz(76.6761, 90.8400, 30.0143)
Luminance0.9084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FC74 #7874FC
analogous
#FCBC74 #F8FC74 #B4FC74
triadic
#F8FC74 #74F8FC #FC74F8
tetradic
#F8FC74 #74FCBC #7874FC #FC74B4
square
#F8FC74 #74FCBC #7874FC #FC74B4
split-complementary
#F8FC74 #74B4FC #BC74FC
monochromatic
#E9F005 #F5FB38 #F8FC74 #FBFDB0 #FDFEE1

Accessibility & contrast

On white

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

On black

19.17
#F8FC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FC74
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FC74#FFFFFF#000000##000000
##F8FC741.001.1019.1719.17
#FFFFFF1.101.0021.0021.00
#00000019.1721.001.001.00
##00000019.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF266
Deuteranopia (green-blind)
#FFF67C
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8fc74;
/* rgb */ color: rgb(248, 252, 116);
/* oklch */ color: oklch(96.2% 0.158 110.6);
Tailwind
colors: {
  custom: {
    50: '#fdfda0',
    500: '#f8fc74',
    950: '#000000',
  },
}
SCSS
$custom: #f8fc74;
$custom-light: #fdfda0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fc74",
  "rgb": {
    "r": 248,
    "g": 252,
    "b": 116
  },
  "hsl": {
    "h": 61.765,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.96197,
    "c": 0.15798,
    "h": 110.6
  },
  "luminance": 0.90838
}

Semantic roles & 50–950 ramp

primary
#F8FC74
secondary
#403CD8
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FC74

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

Preview Lab → · Contrast checker → · Palette generator →

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