#F9FC78#F9FC78

#F9FC78 is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.3% C 0.154 H 110.2°. Best body text is #000000 at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#F9FC78
RGBrgb(249, 252, 120)
HSLhsl(61, 96%, 73%)
HSVhsv(61, 52%, 99%)
CMYKcmyk(1.2%, 0%, 52.4%, 1.2%)
CIE-LABlab(96.46, -18.08, 61.92)
CIE-LCHlch(96.46, 64.51, 106.28°)
OKLaboklab(96.32% -0.0532 0.1448)
OKLCHoklch(96.32% 0.154 110.2)
XYZxyz(77.2693, 91.1184, 31.2829)
Luminance0.9112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FC78 #7B78FC
analogous
#FCBD78 #F9FC78 #B7FC78
triadic
#F9FC78 #78F9FC #FC78F9
tetradic
#F9FC78 #78FCBD #7B78FC #FC78B7
square
#F9FC78 #78FCBD #7B78FC #FC78B7
split-complementary
#F9FC78 #78B7FC #BD78FC
monochromatic
#EFF405 #F6FB3C #F9FC78 #FCFDB4 #FEFEE1

Accessibility & contrast

On white

1.09
#F9FC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.22
#F9FC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FC78
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FC78#FFFFFF#000000##000000
##F9FC781.001.0919.2219.22
#FFFFFF1.091.0021.0021.00
#00000019.2221.001.001.00
##00000019.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF36B
Deuteranopia (green-blind)
#FFF77F
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f9fc78;
/* rgb */ color: rgb(249, 252, 120);
/* oklch */ color: oklch(96.3% 0.154 110.2);
Tailwind
colors: {
  custom: {
    50: '#fefda2',
    500: '#f9fc78',
    950: '#000000',
  },
}
SCSS
$custom: #f9fc78;
$custom-light: #fefda2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fc78",
  "rgb": {
    "r": 249,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 61.364,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.9632,
    "c": 0.15428,
    "h": 110.2
  },
  "luminance": 0.91117
}

Semantic roles & 50–950 ramp

primary
#F9FC78
secondary
#433FD9
accent
#00E605
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9FC78

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

Preview Lab → · Contrast checker → · Palette generator →

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