#F9DE78#F9DE78

#F9DE78 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.2% C 0.126 H 94.9°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#F9DE78
RGBrgb(249, 222, 120)
HSLhsl(47, 91%, 72%)
HSVhsv(47, 52%, 98%)
CMYKcmyk(0%, 10.8%, 51.8%, 2.4%)
CIE-LABlab(88.80, -3.26, 52.92)
CIE-LCHlch(88.80, 53.02, 93.53°)
OKLaboklab(90.24% -0.0107 0.1253)
OKLCHoklch(90.24% 0.126 94.9)
XYZxyz(68.5808, 73.7413, 28.3867)
Luminance0.7374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DE78 #7893F9
analogous
#F99E78 #F9DE78 #D3F978
triadic
#F9DE78 #78F9DE #DE78F9
tetradic
#F9DE78 #78F99E #7893F9 #F978D3
square
#F9DE78 #78F99E #7893F9 #F978D3
split-complementary
#F9DE78 #78D3F9 #9E78F9
monochromatic
#ECBD0A #F6D03D #F9DE78 #FCECB3 #FEF8E2

Accessibility & contrast

On white

1.33
#F9DE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#F9DE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DE78
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DE78#FFFFFF#000000##000000
##F9DE781.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6F
Deuteranopia (green-blind)
#F7E37C
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f9de78;
/* rgb */ color: rgb(249, 222, 120);
/* oklch */ color: oklch(90.2% 0.126 94.9);
Tailwind
colors: {
  custom: {
    50: '#fee8a1',
    500: '#f9de78',
    950: '#000000',
  },
}
SCSS
$custom: #f9de78;
$custom-light: #fee8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f9de78",
  "rgb": {
    "r": 249,
    "g": 222,
    "b": 120
  },
  "hsl": {
    "h": 47.442,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90238,
    "c": 0.12573,
    "h": 94.9
  },
  "luminance": 0.73738
}

Semantic roles & 50–950 ramp

primary
#F9DE78
secondary
#405FD5
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9DE78

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

Preview Lab → · Contrast checker → · Palette generator →

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