#F8D963#F8D963

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

Color values

HEX#F8D963
RGBrgb(248, 217, 99)
HSLhsl(48, 91%, 68%)
HSVhsv(48, 60%, 97%)
CMYKcmyk(0%, 12.5%, 60.1%, 2.7%)
CIE-LABlab(87.23, -2.71, 60.73)
CIE-LCHlch(87.23, 60.79, 92.55°)
OKLaboklab(88.91% -0.0114 0.1399)
OKLCHoklch(88.91% 0.14 94.6)
XYZxyz(65.7792, 70.4862, 21.9424)
Luminance0.7048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D963 #6382F8
analogous
#F88E63 #F8D963 #CCF863
triadic
#F8D963 #63F8D9 #D963F8
tetradic
#F8D963 #63F88E #6382F8 #F863CC
square
#F8D963 #63F88E #6382F8 #F863CC
split-complementary
#F8D963 #63CCF8 #8E63F8
monochromatic
#D7AC0A #F5CB28 #F8D963 #FBE79E #FDF6D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D963#FFFFFF#000000##000000
##F8D9631.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)
#EDD557
Deuteranopia (green-blind)
#F5DF68
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d963;
/* rgb */ color: rgb(248, 217, 99);
/* oklch */ color: oklch(88.9% 0.140 94.6);
Tailwind
colors: {
  custom: {
    50: '#fee493',
    500: '#f8d963',
    950: '#000000',
  },
}
SCSS
$custom: #f8d963;
$custom-light: #fee493;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d963",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 99
  },
  "hsl": {
    "h": 47.517,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88909,
    "c": 0.1404,
    "h": 94.6
  },
  "luminance": 0.70483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D963

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

Preview Lab → · Contrast checker → · Palette generator →

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