#F8D966#F8D966

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

Color values

HEX#F8D966
RGBrgb(248, 217, 102)
HSLhsl(47, 91%, 69%)
HSVhsv(47, 59%, 97%)
CMYKcmyk(0%, 12.5%, 58.9%, 2.7%)
CIE-LABlab(87.26, -2.50, 59.43)
CIE-LCHlch(87.26, 59.48, 92.41°)
OKLaboklab(88.94% -0.0104 0.1375)
OKLCHoklch(88.94% 0.138 94.3)
XYZxyz(65.9253, 70.5447, 22.7118)
Luminance0.7054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D966 #6685F8
analogous
#F89066 #F8D966 #CEF866
triadic
#F8D966 #66F8D9 #D966F8
tetradic
#F8D966 #66F890 #6685F8 #F866CE
square
#F8D966 #66F890 #6685F8 #F866CE
split-complementary
#F8D966 #66CEF8 #9066F8
monochromatic
#DAAE0A #F5CA2B #F8D966 #FBE8A1 #FDF6DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D966#FFFFFF#000000##000000
##F8D9661.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)
#EDD55A
Deuteranopia (green-blind)
#F5DF6B
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d966;
/* rgb */ color: rgb(248, 217, 102);
/* oklch */ color: oklch(88.9% 0.138 94.3);
Tailwind
colors: {
  custom: {
    50: '#fee495',
    500: '#f8d966',
    950: '#000000',
  },
}
SCSS
$custom: #f8d966;
$custom-light: #fee495;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d966",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 102
  },
  "hsl": {
    "h": 47.26,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88941,
    "c": 0.13792,
    "h": 94.3
  },
  "luminance": 0.70541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D966

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

Preview Lab → · Contrast checker → · Palette generator →

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