#F9FA78#F9FA78

#F9FA78 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 95.9% C 0.152 H 109.4°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#F9FA78
RGBrgb(249, 250, 120)
HSLhsl(60, 93%, 73%)
HSVhsv(60, 52%, 98%)
CMYKcmyk(0.4%, 0%, 52%, 2%)
CIE-LABlab(95.94, -17.12, 61.33)
CIE-LCHlch(95.94, 63.67, 105.60°)
OKLaboklab(95.91% -0.0504 0.1436)
OKLCHoklch(95.91% 0.152 109.4)
XYZxyz(76.6446, 89.8689, 31.0746)
Luminance0.8987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA78 #7978FA
analogous
#FABA78 #F9FA78 #B8FA78
triadic
#F9FA78 #78F9FA #FA78F9
tetradic
#F9FA78 #78FABA #7978FA #FA78B8
square
#F9FA78 #78FABA #7978FA #FA78B8
split-complementary
#F9FA78 #78B8FA #BA78FA
monochromatic
#EDEF09 #F6F83D #F9FA78 #FCFCB3 #FEFEE1

Accessibility & contrast

On white

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

On black

18.97
#F9FA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA78
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA78#FFFFFF#000000##000000
##F9FA781.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.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: #f9fa78;
/* rgb */ color: rgb(249, 250, 120);
/* oklch */ color: oklch(95.9% 0.152 109.4);
Tailwind
colors: {
  custom: {
    50: '#fefba2',
    500: '#f9fa78',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa78;
$custom-light: #fefba2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa78",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 60.462,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95908,
    "c": 0.15215,
    "h": 109.4
  },
  "luminance": 0.89867
}

Semantic roles & 50–950 ramp

primary
#F9FA78
secondary
#4140D6
accent
#00E602
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9FA78

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

Preview Lab → · Contrast checker → · Palette generator →

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