#F8FA78#F8FA78

#F8FA78 is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.8% C 0.152 H 109.8°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#F8FA78
RGBrgb(248, 250, 120)
HSLhsl(61, 93%, 73%)
HSVhsv(61, 52%, 98%)
CMYKcmyk(0.8%, 0%, 52%, 2%)
CIE-LABlab(95.87, -17.51, 61.22)
CIE-LCHlch(95.87, 63.67, 105.96°)
OKLaboklab(95.83% -0.0515 0.1433)
OKLCHoklch(95.83% 0.152 109.8)
XYZxyz(76.2890, 89.6855, 31.0580)
Luminance0.8968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA78 #7A78FA
analogous
#FABB78 #F8FA78 #B7FA78
triadic
#F8FA78 #78F8FA #FA78F8
tetradic
#F8FA78 #78FABB #7A78FA #FA78B7
square
#F8FA78 #78FABB #7A78FA #FA78B7
split-complementary
#F8FA78 #78B7FA #BB78FA
monochromatic
#EBEF09 #F5F83D #F8FA78 #FBFCB3 #FDFEE1

Accessibility & contrast

On white

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

On black

18.94
#F8FA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA78
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA78#FFFFFF#000000##000000
##F8FA781.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16B
Deuteranopia (green-blind)
#FFF57F
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fa78;
/* rgb */ color: rgb(248, 250, 120);
/* oklch */ color: oklch(95.8% 0.152 109.8);
Tailwind
colors: {
  custom: {
    50: '#fdfba2',
    500: '#f8fa78',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa78;
$custom-light: #fdfba2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa78",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 60.923,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95829,
    "c": 0.1523,
    "h": 109.8
  },
  "luminance": 0.89684
}

Semantic roles & 50–950 ramp

primary
#F8FA78
secondary
#4240D6
accent
#00E604
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FA78

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

Preview Lab → · Contrast checker → · Palette generator →

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