#F9DC64#F9DC64

#F9DC64 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.6% C 0.142 H 95.8°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#F9DC64
RGBrgb(249, 220, 100)
HSLhsl(48, 93%, 68%)
HSVhsv(48, 60%, 98%)
CMYKcmyk(0%, 11.6%, 59.8%, 2.4%)
CIE-LABlab(88.09, -3.75, 61.27)
CIE-LCHlch(88.09, 61.38, 93.50°)
OKLaboklab(89.61% -0.0143 0.1412)
OKLCHoklch(89.61% 0.142 95.8)
XYZxyz(66.9632, 72.2494, 22.4725)
Luminance0.7225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC64 #6481F9
analogous
#F99164 #F9DC64 #CBF964
triadic
#F9DC64 #64F9DC #DC64F9
tetradic
#F9DC64 #64F991 #6481F9 #F964CB
square
#F9DC64 #64F991 #6481F9 #F964CB
split-complementary
#F9DC64 #64CBF9 #9164F9
monochromatic
#DAB108 #F7CF29 #F9DC64 #FBE99F #FEF7DA

Accessibility & contrast

On white

1.36
#F9DC64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.45
#F9DC64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC64
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC64#FFFFFF#000000##000000
##F9DC641.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D857
Deuteranopia (green-blind)
#F8E16A
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f9dc64;
/* rgb */ color: rgb(249, 220, 100);
/* oklch */ color: oklch(89.6% 0.142 95.8);
Tailwind
colors: {
  custom: {
    50: '#fee694',
    500: '#f9dc64',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc64;
$custom-light: #fee694;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc64",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 100
  },
  "hsl": {
    "h": 48.322,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89608,
    "c": 0.14192,
    "h": 95.8
  },
  "luminance": 0.72246
}

Semantic roles & 50–950 ramp

primary
#F9DC64
secondary
#2F4FD2
accent
#2DE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9DC64

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

Preview Lab → · Contrast checker → · Palette generator →

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