#F8F663#F8F663

#F8F663 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.8% C 0.166 H 108.4°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#F8F663
RGBrgb(248, 246, 99)
HSLhsl(59, 91%, 68%)
HSVhsv(59, 60%, 97%)
CMYKcmyk(0%, 0.8%, 60.1%, 2.7%)
CIE-LABlab(94.64, -17.09, 68.86)
CIE-LCHlch(94.64, 70.94, 103.94°)
OKLaboklab(94.79% -0.0524 0.1572)
OKLCHoklch(94.79% 0.166 108.4)
XYZxyz(73.9216, 86.7710, 24.6565)
Luminance0.8677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F663 #6365F8
analogous
#F8AC63 #F8F663 #AFF863
triadic
#F8F663 #63F8F6 #F663F8
tetradic
#F8F663 #63F8AC #6365F8 #F863AF
square
#F8F663 #63F8AC #6365F8 #F863AF
split-complementary
#F8F663 #63AFF8 #AC63F8
monochromatic
#D7D40A #F5F328 #F8F663 #FBF99E #FDFDD8

Accessibility & contrast

On white

1.14
#F8F663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#F8F663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F663
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F663#FFFFFF#000000##000000
##F8F6631.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED51
Deuteranopia (green-blind)
#FFF26C
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f663;
/* rgb */ color: rgb(248, 246, 99);
/* oklch */ color: oklch(94.8% 0.166 108.4);
Tailwind
colors: {
  custom: {
    50: '#fef895',
    500: '#f8f663',
    950: '#000000',
  },
}
SCSS
$custom: #f8f663;
$custom-light: #fef895;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f663",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 99
  },
  "hsl": {
    "h": 59.195,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.9479,
    "c": 0.16573,
    "h": 108.4
  },
  "luminance": 0.86769
}

Semantic roles & 50–950 ramp

primary
#F8F663
secondary
#2E30D1
accent
#03E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F663

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

Preview Lab → · Contrast checker → · Palette generator →

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