#F8F964#F8F964

#F8F964 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.4% C 0.168 H 109.6°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#F8F964
RGBrgb(248, 249, 100)
HSLhsl(60, 93%, 68%)
HSVhsv(60, 60%, 98%)
CMYKcmyk(0.4%, 0%, 59.8%, 2.4%)
CIE-LABlab(95.43, -18.47, 69.29)
CIE-LCHlch(95.43, 71.71, 104.93°)
OKLaboklab(95.42% -0.0562 0.1583)
OKLCHoklch(95.42% 0.168 109.6)
XYZxyz(74.8896, 88.6299, 25.2164)
Luminance0.8863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F964 #6564F9
analogous
#F9AF64 #F8F964 #ADF964
triadic
#F8F964 #64F8F9 #F964F8
tetradic
#F8F964 #64F9AF #6564F9 #F964AD
square
#F8F964 #64F9AF #6564F9 #F964AD
split-complementary
#F8F964 #64ADF9 #AF64F9
monochromatic
#D9DA08 #F5F729 #F8F964 #FBFB9F #FDFEDA

Accessibility & contrast

On white

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

On black

18.73
#F8F964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F964
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F964#FFFFFF#000000##000000
##F8F9641.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f964;
/* rgb */ color: rgb(248, 249, 100);
/* oklch */ color: oklch(95.4% 0.168 109.6);
Tailwind
colors: {
  custom: {
    50: '#fefb96',
    500: '#f8f964',
    950: '#000000',
  },
}
SCSS
$custom: #f8f964;
$custom-light: #fefb96;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f964",
  "rgb": {
    "r": 248,
    "g": 249,
    "b": 100
  },
  "hsl": {
    "h": 60.403,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.95419,
    "c": 0.16798,
    "h": 109.6
  },
  "luminance": 0.88628
}

Semantic roles & 50–950 ramp

primary
#F8F964
secondary
#302FD2
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F964

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

Preview Lab → · Contrast checker → · Palette generator →

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