#F9DC78#F9DC78

#F9DC78 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.8% C 0.124 H 93.6°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#F9DC78
RGBrgb(249, 220, 120)
HSLhsl(47, 91%, 72%)
HSVhsv(47, 52%, 98%)
CMYKcmyk(0%, 11.6%, 51.8%, 2.4%)
CIE-LABlab(88.30, -2.25, 52.32)
CIE-LCHlch(88.30, 52.37, 92.46°)
OKLaboklab(89.84% -0.0077 0.124)
OKLCHoklch(89.84% 0.124 93.6)
XYZxyz(68.0527, 72.6852, 28.2107)
Luminance0.7268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC78 #7895F9
analogous
#F99C78 #F9DC78 #D5F978
triadic
#F9DC78 #78F9DC #DC78F9
tetradic
#F9DC78 #78F99C #7895F9 #F978D5
square
#F9DC78 #78F99C #7895F9 #F978D5
split-complementary
#F9DC78 #78D5F9 #9C78F9
monochromatic
#ECB90A #F6CD3D #F9DC78 #FCEBB3 #FEF7E2

Accessibility & contrast

On white

1.35
#F9DC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#F9DC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC78
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC78#FFFFFF#000000##000000
##F9DC781.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86F
Deuteranopia (green-blind)
#F6E17C
Tritanopia (blue-blind)
#FFCEC5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f9dc78;
/* rgb */ color: rgb(249, 220, 120);
/* oklch */ color: oklch(89.8% 0.124 93.6);
Tailwind
colors: {
  custom: {
    50: '#fee6a1',
    500: '#f9dc78',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc78;
$custom-light: #fee6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc78",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 120
  },
  "hsl": {
    "h": 46.512,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89841,
    "c": 0.1242,
    "h": 93.6
  },
  "luminance": 0.72682
}

Semantic roles & 50–950 ramp

primary
#F9DC78
secondary
#4062D5
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F9DC78

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

Preview Lab → · Contrast checker → · Palette generator →

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