#F9DA78#F9DA78

#F9DA78 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.4% C 0.123 H 92.2°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#F9DA78
RGBrgb(249, 218, 120)
HSLhsl(46, 91%, 72%)
HSVhsv(46, 52%, 98%)
CMYKcmyk(0%, 12.4%, 51.8%, 2.4%)
CIE-LABlab(87.80, -1.23, 51.72)
CIE-LCHlch(87.80, 51.73, 91.37°)
OKLaboklab(89.45% -0.0048 0.1226)
OKLCHoklch(89.45% 0.123 92.2)
XYZxyz(67.5310, 71.6417, 28.0368)
Luminance0.7164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DA78 #7897F9
analogous
#F99978 #F9DA78 #D8F978
triadic
#F9DA78 #78F9DA #DA78F9
tetradic
#F9DA78 #78F999 #7897F9 #F978D8
square
#F9DA78 #78F999 #7897F9 #F978D8
split-complementary
#F9DA78 #78D8F9 #9978F9
monochromatic
#ECB60A #F6CA3D #F9DA78 #FCEAB3 #FEF7E2

Accessibility & contrast

On white

1.37
#F9DA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.33
#F9DA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DA78
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DA78#FFFFFF#000000##000000
##F9DA781.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76F
Deuteranopia (green-blind)
#F4E07C
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f9da78;
/* rgb */ color: rgb(249, 218, 120);
/* oklch */ color: oklch(89.4% 0.123 92.2);
Tailwind
colors: {
  custom: {
    50: '#fee5a1',
    500: '#f9da78',
    950: '#000000',
  },
}
SCSS
$custom: #f9da78;
$custom-light: #fee5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f9da78",
  "rgb": {
    "r": 249,
    "g": 218,
    "b": 120
  },
  "hsl": {
    "h": 45.581,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89445,
    "c": 0.12273,
    "h": 92.2
  },
  "luminance": 0.71639
}

Semantic roles & 50–950 ramp

primary
#F9DA78
secondary
#4064D5
accent
#37E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F9DA78

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

Preview Lab → · Contrast checker → · Palette generator →

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