#F8D967#F8D967

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

Color values

HEX#F8D967
RGBrgb(248, 217, 103)
HSLhsl(47, 91%, 69%)
HSVhsv(47, 58%, 97%)
CMYKcmyk(0%, 12.5%, 58.5%, 2.7%)
CIE-LABlab(87.27, -2.43, 58.99)
CIE-LCHlch(87.27, 59.04, 92.36°)
OKLaboklab(88.95% -0.0101 0.1367)
OKLCHoklch(88.95% 0.137 94.2)
XYZxyz(65.9752, 70.5646, 22.9745)
Luminance0.7056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D967 #6786F8
analogous
#F89167 #F8D967 #CFF867
triadic
#F8D967 #67F8D9 #D967F8
tetradic
#F8D967 #67F891 #6786F8 #F867CF
square
#F8D967 #67F891 #6786F8 #F867CF
split-complementary
#F8D967 #67CFF8 #9167F8
monochromatic
#DBAE0A #F5CA2C #F8D967 #FBE8A2 #FDF6DC

Accessibility & contrast

On white

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

On black

15.11
#F8D967 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D967
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D967#FFFFFF#000000##000000
##F8D9671.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d967;
/* rgb */ color: rgb(248, 217, 103);
/* oklch */ color: oklch(89.0% 0.137 94.2);
Tailwind
colors: {
  custom: {
    50: '#fee496',
    500: '#f8d967',
    950: '#000000',
  },
}
SCSS
$custom: #f8d967;
$custom-light: #fee496;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d967",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 103
  },
  "hsl": {
    "h": 47.172,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88952,
    "c": 0.13707,
    "h": 94.2
  },
  "luminance": 0.70561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D967

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

Preview Lab → · Contrast checker → · Palette generator →

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