#F9D64E#F9D64E

#F9D64E is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 88.2% C 0.154 H 94.4°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#F9D64E
RGBrgb(249, 214, 78)
HSLhsl(48, 93%, 64%)
HSVhsv(48, 69%, 98%)
CMYKcmyk(0%, 14.1%, 68.7%, 2.4%)
CIE-LABlab(86.40, -2.01, 68.67)
CIE-LCHlch(86.40, 68.70, 91.67°)
OKLaboklab(88.21% -0.0118 0.1537)
OKLCHoklch(88.21% 0.154 94.4)
XYZxyz(64.4919, 68.7864, 17.0864)
Luminance0.6878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D64E #4E71F9
analogous
#F9814E #F9D64E #C7F94E
triadic
#F9D64E #4EF9D6 #D64EF9
tetradic
#F9D64E #4EF981 #4E71F9 #F94EC7
square
#F9D64E #4EF981 #4E71F9 #F94EC7
split-complementary
#F9D64E #4EC7F9 #814EF9
monochromatic
#C69F07 #F7C813 #F9D64E #FBE489 #FDF1C4

Accessibility & contrast

On white

1.42
#F9D64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#F9D64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D64E
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D64E#FFFFFF#000000##000000
##F9D64E1.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23B
Deuteranopia (green-blind)
#F5DD55
Tritanopia (blue-blind)
#FFC6BA
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f9d64e;
/* rgb */ color: rgb(249, 214, 78);
/* oklch */ color: oklch(88.2% 0.154 94.4);
Tailwind
colors: {
  custom: {
    50: '#ffe287',
    500: '#f9d64e',
    950: '#000000',
  },
}
SCSS
$custom: #f9d64e;
$custom-light: #ffe287;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d64e",
  "rgb": {
    "r": 249,
    "g": 214,
    "b": 78
  },
  "hsl": {
    "h": 47.719,
    "s": 93.443,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88214,
    "c": 0.1541,
    "h": 94.4
  },
  "luminance": 0.68783
}

Semantic roles & 50–950 ramp

primary
#F9D64E
secondary
#2948C3
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #F9D64E

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

Preview Lab → · Contrast checker → · Palette generator →

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