#F9DC71#F9DC71

#F9DC71 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.8% C 0.131 H 94.4°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#F9DC71
RGBrgb(249, 220, 113)
HSLhsl(47, 92%, 71%)
HSVhsv(47, 55%, 98%)
CMYKcmyk(0%, 11.6%, 54.6%, 2.4%)
CIE-LABlab(88.22, -2.81, 55.52)
CIE-LCHlch(88.22, 55.59, 92.90°)
OKLaboklab(89.75% -0.0101 0.1303)
OKLCHoklch(89.75% 0.131 94.4)
XYZxyz(67.6434, 72.5215, 26.0546)
Luminance0.7252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC71 #718EF9
analogous
#F99871 #F9DC71 #D2F971
triadic
#F9DC71 #71F9DC #DC71F9
tetradic
#F9DC71 #71F998 #718EF9 #F971D2
square
#F9DC71 #71F998 #718EF9 #F971D2
split-complementary
#F9DC71 #71D2F9 #9871F9
monochromatic
#E6B70A #F7CE36 #F9DC71 #FBEAAC #FEF8E2

Accessibility & contrast

On white

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

On black

15.50
#F9DC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC71
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC71#FFFFFF#000000##000000
##F9DC711.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9dc71;
/* rgb */ color: rgb(249, 220, 113);
/* oklch */ color: oklch(89.8% 0.131 94.4);
Tailwind
colors: {
  custom: {
    50: '#fee69c',
    500: '#f9dc71',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc71;
$custom-light: #fee69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc71",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 47.206,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89753,
    "c": 0.13068,
    "h": 94.4
  },
  "luminance": 0.72518
}

Semantic roles & 50–950 ramp

primary
#F9DC71
secondary
#3A5BD4
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9DC71

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

Preview Lab → · Contrast checker → · Palette generator →

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