#F8F563#F8F563

#F8F563 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.6% C 0.165 H 108.1°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#F8F563
RGBrgb(248, 245, 99)
HSLhsl(59, 91%, 68%)
HSVhsv(59, 60%, 97%)
CMYKcmyk(0%, 1.2%, 60.1%, 2.7%)
CIE-LABlab(94.38, -16.60, 68.58)
CIE-LCHlch(94.38, 70.56, 103.61°)
OKLaboklab(94.58% -0.0511 0.1566)
OKLCHoklch(94.58% 0.165 108.1)
XYZxyz(73.6183, 86.1643, 24.5554)
Luminance0.8616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F563 #6366F8
analogous
#F8AA63 #F8F563 #B0F863
triadic
#F8F563 #63F8F5 #F563F8
tetradic
#F8F563 #63F8AA #6366F8 #F863B0
square
#F8F563 #63F8AA #6366F8 #F863B0
split-complementary
#F8F563 #63B0F8 #AA63F8
monochromatic
#D7D30A #F5F128 #F8F563 #FBF99E #FDFDD8

Accessibility & contrast

On white

1.15
#F8F563 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.23
#F8F563 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F563
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F563#FFFFFF#000000##000000
##F8F5631.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC52
Deuteranopia (green-blind)
#FFF16C
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f563;
/* rgb */ color: rgb(248, 245, 99);
/* oklch */ color: oklch(94.6% 0.165 108.1);
Tailwind
colors: {
  custom: {
    50: '#fef895',
    500: '#f8f563',
    950: '#000000',
  },
}
SCSS
$custom: #f8f563;
$custom-light: #fef895;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f563",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 99
  },
  "hsl": {
    "h": 58.792,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94584,
    "c": 0.16475,
    "h": 108.1
  },
  "luminance": 0.86162
}

Semantic roles & 50–950 ramp

primary
#F8F563
secondary
#2E31D1
accent
#05E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F563

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

Preview Lab → · Contrast checker → · Palette generator →

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