#F9DC76#F9DC76

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

Color values

HEX#F9DC76
RGBrgb(249, 220, 118)
HSLhsl(47, 92%, 72%)
HSVhsv(47, 53%, 98%)
CMYKcmyk(0%, 11.6%, 52.6%, 2.4%)
CIE-LABlab(88.27, -2.41, 53.24)
CIE-LCHlch(88.27, 53.30, 92.60°)
OKLaboklab(89.82% -0.0084 0.1258)
OKLCHoklch(89.82% 0.126 93.8)
XYZxyz(67.9326, 72.6372, 27.5781)
Luminance0.7263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC76 #7693F9
analogous
#F99B76 #F9DC76 #D4F976
triadic
#F9DC76 #76F9DC #DC76F9
tetradic
#F9DC76 #76F99B #7693F9 #F976D4
square
#F9DC76 #76F99B #7693F9 #F976D4
split-complementary
#F9DC76 #76D4F9 #9B76F9
monochromatic
#EAB90A #F6CD3B #F9DC76 #FCEBB1 #FEF8E2

Accessibility & contrast

On white

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

On black

15.53
#F9DC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC76
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC76#FFFFFF#000000##000000
##F9DC761.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9dc76;
/* rgb */ color: rgb(249, 220, 118);
/* oklch */ color: oklch(89.8% 0.126 93.8);
Tailwind
colors: {
  custom: {
    50: '#fee6a0',
    500: '#f9dc76',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc76;
$custom-light: #fee6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc76",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 118
  },
  "hsl": {
    "h": 46.718,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.89815,
    "c": 0.12608,
    "h": 93.8
  },
  "luminance": 0.72634
}

Semantic roles & 50–950 ramp

primary
#F9DC76
secondary
#3E60D5
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F9DC76

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

Preview Lab → · Contrast checker → · Palette generator →

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