#F9DC62#F9DC62

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

Color values

HEX#F9DC62
RGBrgb(249, 220, 98)
HSLhsl(48, 93%, 68%)
HSVhsv(48, 61%, 98%)
CMYKcmyk(0%, 11.6%, 60.6%, 2.4%)
CIE-LABlab(88.07, -3.88, 62.13)
CIE-LCHlch(88.07, 62.25, 93.58°)
OKLaboklab(89.59% -0.0149 0.1428)
OKLCHoklch(89.59% 0.144 96)
XYZxyz(66.8676, 72.2112, 21.9689)
Luminance0.7221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC62 #627FF9
analogous
#F99062 #F9DC62 #CAF962
triadic
#F9DC62 #62F9DC #DC62F9
tetradic
#F9DC62 #62F990 #627FF9 #F962CA
square
#F9DC62 #62F990 #627FF9 #F962CA
split-complementary
#F9DC62 #62CAF9 #9062F9
monochromatic
#D8B008 #F7CF27 #F9DC62 #FBE99D #FEF6D8

Accessibility & contrast

On white

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

On black

15.44
#F9DC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC62
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC62#FFFFFF#000000##000000
##F9DC621.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9dc62;
/* rgb */ color: rgb(249, 220, 98);
/* oklch */ color: oklch(89.6% 0.144 96.0);
Tailwind
colors: {
  custom: {
    50: '#fee693',
    500: '#f9dc62',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc62;
$custom-light: #fee693;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc62",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 98
  },
  "hsl": {
    "h": 48.477,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89588,
    "c": 0.14354,
    "h": 96
  },
  "luminance": 0.72208
}

Semantic roles & 50–950 ramp

primary
#F9DC62
secondary
#2D4DD2
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9DC62

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

Preview Lab → · Contrast checker → · Palette generator →

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