#F8D563#F8D563

#F8D563 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.1% C 0.138 H 92.3°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#F8D563
RGBrgb(248, 213, 99)
HSLhsl(46, 91%, 68%)
HSVhsv(46, 60%, 97%)
CMYKcmyk(0%, 14.1%, 60.1%, 2.7%)
CIE-LABlab(86.23, -0.67, 59.61)
CIE-LCHlch(86.23, 59.61, 90.65°)
OKLaboklab(88.12% -0.0055 0.1375)
OKLCHoklch(88.12% 0.138 92.3)
XYZxyz(64.7607, 68.4492, 21.6028)
Luminance0.6845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D563 #6386F8
analogous
#F88A63 #F8D563 #D0F863
triadic
#F8D563 #63F8D5 #D563F8
tetradic
#F8D563 #63F88A #6386F8 #F863D0
square
#F8D563 #63F88A #6386F8 #F863D0
split-complementary
#F8D563 #63D0F8 #8A63F8
monochromatic
#D7A70A #F5C528 #F8D563 #FBE59E #FDF5D8

Accessibility & contrast

On white

1.43
#F8D563 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#F8D563 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D563
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D563#FFFFFF#000000##000000
##F8D5631.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D257
Deuteranopia (green-blind)
#F2DC68
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f8d563;
/* rgb */ color: rgb(248, 213, 99);
/* oklch */ color: oklch(88.1% 0.138 92.3);
Tailwind
colors: {
  custom: {
    50: '#fee193',
    500: '#f8d563',
    950: '#000000',
  },
}
SCSS
$custom: #f8d563;
$custom-light: #fee193;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d563",
  "rgb": {
    "r": 248,
    "g": 213,
    "b": 99
  },
  "hsl": {
    "h": 45.906,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88116,
    "c": 0.13765,
    "h": 92.3
  },
  "luminance": 0.68446
}

Semantic roles & 50–950 ramp

primary
#F8D563
secondary
#2E54D1
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D563

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

Preview Lab → · Contrast checker → · Palette generator →

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