#F8D968#F8D968

#F8D968 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 89.0% C 0.136 H 94.1°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#F8D968
RGBrgb(248, 217, 104)
HSLhsl(47, 91%, 69%)
HSVhsv(47, 58%, 97%)
CMYKcmyk(0%, 12.5%, 58.1%, 2.7%)
CIE-LABlab(87.28, -2.36, 58.55)
CIE-LCHlch(87.28, 58.60, 92.31°)
OKLaboklab(88.96% -0.0098 0.1359)
OKLCHoklch(88.96% 0.136 94.1)
XYZxyz(66.0257, 70.5848, 23.2405)
Luminance0.7058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D968 #6887F8
analogous
#F89168 #F8D968 #CFF868
triadic
#F8D968 #68F8D9 #D968F8
tetradic
#F8D968 #68F891 #6887F8 #F868CF
square
#F8D968 #68F891 #6887F8 #F868CF
split-complementary
#F8D968 #68CFF8 #9168F8
monochromatic
#DBAE0A #F5CA2E #F8D968 #FBE8A2 #FDF6DD

Accessibility & contrast

On white

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

On black

15.12
#F8D968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D968
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D968#FFFFFF#000000##000000
##F8D9681.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD55D
Deuteranopia (green-blind)
#F5DF6D
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d968;
/* rgb */ color: rgb(248, 217, 104);
/* oklch */ color: oklch(89.0% 0.136 94.1);
Tailwind
colors: {
  custom: {
    50: '#fee497',
    500: '#f8d968',
    950: '#000000',
  },
}
SCSS
$custom: #f8d968;
$custom-light: #fee497;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d968",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 47.083,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88963,
    "c": 0.13622,
    "h": 94.1
  },
  "luminance": 0.70582
}

Semantic roles & 50–950 ramp

primary
#F8D968
secondary
#3255D2
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D968

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

Preview Lab → · Contrast checker → · Palette generator →

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