#F8F968#F8F968

#F8F968 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.5% C 0.165 H 109.5°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#F8F968
RGBrgb(248, 249, 104)
HSLhsl(60, 92%, 69%)
HSVhsv(60, 58%, 98%)
CMYKcmyk(0.4%, 0%, 58.2%, 2.4%)
CIE-LABlab(95.46, -18.21, 67.68)
CIE-LCHlch(95.46, 70.08, 105.06°)
OKLaboklab(95.46% -0.0551 0.1554)
OKLCHoklch(95.46% 0.165 109.5)
XYZxyz(75.0879, 88.7093, 26.2612)
Luminance0.8871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F968 #6968F9
analogous
#F9B268 #F8F968 #B0F968
triadic
#F8F968 #68F8F9 #F968F8
tetradic
#F8F968 #68F9B2 #6968F9 #F968B0
square
#F8F968 #68F9B2 #6968F9 #F968B0
split-complementary
#F8F968 #68B0F9 #B268F9
monochromatic
#DCDE09 #F5F72D #F8F968 #FBFBA3 #FDFEDE

Accessibility & contrast

On white

1.12
#F8F968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.74
#F8F968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F968
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F968#FFFFFF#000000##000000
##F8F9681.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF57
Deuteranopia (green-blind)
#FFF471
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8f968;
/* rgb */ color: rgb(248, 249, 104);
/* oklch */ color: oklch(95.5% 0.165 109.5);
Tailwind
colors: {
  custom: {
    50: '#fdfb98',
    500: '#f8f968',
    950: '#000000',
  },
}
SCSS
$custom: #f8f968;
$custom-light: #fdfb98;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f968",
  "rgb": {
    "r": 248,
    "g": 249,
    "b": 104
  },
  "hsl": {
    "h": 60.414,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.95456,
    "c": 0.16484,
    "h": 109.5
  },
  "luminance": 0.88707
}

Semantic roles & 50–950 ramp

primary
#F8F968
secondary
#3332D3
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F968

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

Preview Lab → · Contrast checker → · Palette generator →

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