#F8D964#F8D964

#F8D964 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.9% C 0.140 H 94.5°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#F8D964
RGBrgb(248, 217, 100)
HSLhsl(47, 91%, 68%)
HSVhsv(47, 60%, 97%)
CMYKcmyk(0%, 12.5%, 59.7%, 2.7%)
CIE-LABlab(87.24, -2.64, 60.30)
CIE-LCHlch(87.24, 60.36, 92.51°)
OKLaboklab(88.92% -0.0111 0.1391)
OKLCHoklch(88.92% 0.14 94.5)
XYZxyz(65.8273, 70.5055, 22.1957)
Luminance0.7050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D964 #6483F8
analogous
#F88F64 #F8D964 #CDF864
triadic
#F8D964 #64F8D9 #D964F8
tetradic
#F8D964 #64F88F #6483F8 #F864CD
square
#F8D964 #64F88F #6483F8 #F864CD
split-complementary
#F8D964 #64CDF8 #8F64F8
monochromatic
#D8AD0A #F5CB29 #F8D964 #FBE79F #FDF6D9

Accessibility & contrast

On white

1.39
#F8D964 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.10
#F8D964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D964
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D964#FFFFFF#000000##000000
##F8D9641.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD558
Deuteranopia (green-blind)
#F5DF69
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d964;
/* rgb */ color: rgb(248, 217, 100);
/* oklch */ color: oklch(88.9% 0.140 94.5);
Tailwind
colors: {
  custom: {
    50: '#fee494',
    500: '#f8d964',
    950: '#000000',
  },
}
SCSS
$custom: #f8d964;
$custom-light: #fee494;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d964",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 100
  },
  "hsl": {
    "h": 47.432,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8892,
    "c": 0.13958,
    "h": 94.5
  },
  "luminance": 0.70502
}

Semantic roles & 50–950 ramp

primary
#F8D964
secondary
#2F51D1
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D964

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

Preview Lab → · Contrast checker → · Palette generator →

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