#F8FA63#F8FA63

#F8FA63 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.6% C 0.170 H 109.9°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#F8FA63
RGBrgb(248, 250, 99)
HSLhsl(61, 94%, 68%)
HSVhsv(61, 60%, 98%)
CMYKcmyk(0.8%, 0%, 60.4%, 2%)
CIE-LABlab(95.68, -19.02, 69.97)
CIE-LCHlch(95.68, 72.51, 105.20°)
OKLaboklab(95.62% -0.0579 0.1596)
OKLCHoklch(95.62% 0.17 109.9)
XYZxyz(75.1514, 89.2305, 25.0664)
Luminance0.8923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA63 #6563FA
analogous
#FAB063 #F8FA63 #ACFA63
triadic
#F8FA63 #63F8FA #FA63F8
tetradic
#F8FA63 #63FAB0 #6563FA #FA63AC
square
#F8FA63 #63FAB0 #6563FA #FA63AC
split-complementary
#F8FA63 #63ACFA #B063FA
monochromatic
#D9DC07 #F5F828 #F8FA63 #FBFC9E #FDFEDA

Accessibility & contrast

On white

1.11
#F8FA63 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.85
#F8FA63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA63
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA63#FFFFFF#000000##000000
##F8FA631.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF051
Deuteranopia (green-blind)
#FFF56C
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fa63;
/* rgb */ color: rgb(248, 250, 99);
/* oklch */ color: oklch(95.6% 0.170 109.9);
Tailwind
colors: {
  custom: {
    50: '#fefb95',
    500: '#f8fa63',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa63;
$custom-light: #fefb95;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa63",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 99
  },
  "hsl": {
    "h": 60.795,
    "s": 93.789,
    "l": 68.431
  },
  "oklch": {
    "l": 0.95617,
    "c": 0.16976,
    "h": 109.9
  },
  "luminance": 0.89229
}

Semantic roles & 50–950 ramp

primary
#F8FA63
secondary
#302ED4
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8FA63

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

Preview Lab → · Contrast checker → · Palette generator →

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