#F8D960#F8D960

#F8D960 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.9% C 0.143 H 94.9°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#F8D960
RGBrgb(248, 217, 96)
HSLhsl(48, 92%, 67%)
HSVhsv(48, 61%, 97%)
CMYKcmyk(0%, 12.5%, 61.3%, 2.7%)
CIE-LABlab(87.21, -2.91, 62.02)
CIE-LCHlch(87.21, 62.09, 92.68°)
OKLaboklab(88.88% -0.0123 0.1423)
OKLCHoklch(88.88% 0.143 94.9)
XYZxyz(65.6385, 70.4299, 21.2010)
Luminance0.7043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D960 #607FF8
analogous
#F88D60 #F8D960 #CBF860
triadic
#F8D960 #60F8D9 #D960F8
tetradic
#F8D960 #60F88D #607FF8 #F860CB
square
#F8D960 #60F88D #607FF8 #F860CB
split-complementary
#F8D960 #60CBF8 #8D60F8
monochromatic
#D4AB09 #F5CB25 #F8D960 #FBE79B #FDF5D5

Accessibility & contrast

On white

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

On black

15.09
#F8D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D960
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D960#FFFFFF#000000##000000
##F8D9601.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD553
Deuteranopia (green-blind)
#F5DF66
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d960;
/* rgb */ color: rgb(248, 217, 96);
/* oklch */ color: oklch(88.9% 0.143 94.9);
Tailwind
colors: {
  custom: {
    50: '#fee491',
    500: '#f8d960',
    950: '#000000',
  },
}
SCSS
$custom: #f8d960;
$custom-light: #fee491;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d960",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 47.763,
    "s": 91.566,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88879,
    "c": 0.14283,
    "h": 94.9
  },
  "luminance": 0.70427
}

Semantic roles & 50–950 ramp

primary
#F8D960
secondary
#2D4ECF
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D960

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

Preview Lab → · Contrast checker → · Palette generator →

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