#F9DC74#F9DC74

#F9DC74 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.8% C 0.128 H 94.1°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#F9DC74
RGBrgb(249, 220, 116)
HSLhsl(47, 92%, 72%)
HSVhsv(47, 53%, 98%)
CMYKcmyk(0%, 11.6%, 53.4%, 2.4%)
CIE-LABlab(88.25, -2.58, 54.16)
CIE-LCHlch(88.25, 54.22, 92.72°)
OKLaboklab(89.79% -0.0091 0.1276)
OKLCHoklch(89.79% 0.128 94.1)
XYZxyz(67.8150, 72.5901, 26.9588)
Luminance0.7259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC74 #7491F9
analogous
#F99A74 #F9DC74 #D4F974
triadic
#F9DC74 #74F9DC #DC74F9
tetradic
#F9DC74 #74F99A #7491F9 #F974D4
square
#F9DC74 #74F99A #7491F9 #F974D4
split-complementary
#F9DC74 #74D4F9 #9A74F9
monochromatic
#E9B80A #F6CD39 #F9DC74 #FCEBAF #FEF8E2

Accessibility & contrast

On white

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

On black

15.52
#F9DC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC74
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC74#FFFFFF#000000##000000
##F9DC741.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86B
Deuteranopia (green-blind)
#F6E178
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f9dc74;
/* rgb */ color: rgb(249, 220, 116);
/* oklch */ color: oklch(89.8% 0.128 94.1);
Tailwind
colors: {
  custom: {
    50: '#fee69e',
    500: '#f9dc74',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc74;
$custom-light: #fee69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc74",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 116
  },
  "hsl": {
    "h": 46.917,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.8979,
    "c": 0.12794,
    "h": 94.1
  },
  "luminance": 0.72587
}

Semantic roles & 50–950 ramp

primary
#F9DC74
secondary
#3D5ED5
accent
#32E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F9DC74

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

Preview Lab → · Contrast checker → · Palette generator →

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