#F8FA66#F8FA66

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

Color values

HEX#F8FA66
RGBrgb(248, 250, 102)
HSLhsl(61, 94%, 69%)
HSVhsv(61, 59%, 98%)
CMYKcmyk(0.8%, 0%, 59.2%, 2%)
CIE-LABlab(95.70, -18.82, 68.77)
CIE-LCHlch(95.70, 71.30, 105.31°)
OKLaboklab(95.64% -0.057 0.1574)
OKLCHoklch(95.64% 0.167 109.9)
XYZxyz(75.2975, 89.2889, 25.8358)
Luminance0.8929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA66 #6866FA
analogous
#FAB266 #F8FA66 #AEFA66
triadic
#F8FA66 #66F8FA #FA66F8
tetradic
#F8FA66 #66FAB2 #6866FA #FA66AE
square
#F8FA66 #66FAB2 #6866FA #FA66AE
split-complementary
#F8FA66 #66AEFA #B266FA
monochromatic
#DBDE07 #F5F82B #F8FA66 #FBFCA1 #FDFEDD

Accessibility & contrast

On white

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

On black

18.86
#F8FA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA66
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA66#FFFFFF#000000##000000
##F8FA661.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF055
Deuteranopia (green-blind)
#FFF56F
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fa66;
/* rgb */ color: rgb(248, 250, 102);
/* oklch */ color: oklch(95.6% 0.167 109.9);
Tailwind
colors: {
  custom: {
    50: '#fefb97',
    500: '#f8fa66',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa66;
$custom-light: #fefb97;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa66",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 102
  },
  "hsl": {
    "h": 60.811,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.95644,
    "c": 0.16744,
    "h": 109.9
  },
  "luminance": 0.89287
}

Semantic roles & 50–950 ramp

primary
#F8FA66
secondary
#3230D4
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8FA66

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

Preview Lab → · Contrast checker → · Palette generator →

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