#F9DC7A#F9DC7A

#F9DC7A is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.9% C 0.122 H 93.3°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#F9DC7A
RGBrgb(249, 220, 122)
HSLhsl(46, 91%, 73%)
HSVhsv(46, 51%, 98%)
CMYKcmyk(0%, 11.6%, 51%, 2.4%)
CIE-LABlab(88.32, -2.08, 51.40)
CIE-LCHlch(88.32, 51.44, 92.32°)
OKLaboklab(89.87% -0.007 0.1221)
OKLCHoklch(89.87% 0.122 93.3)
XYZxyz(68.1754, 72.7343, 28.8566)
Luminance0.7273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC7A #7A97F9
analogous
#F99C7A #F9DC7A #D7F97A
triadic
#F9DC7A #7AF9DC #DC7AF9
tetradic
#F9DC7A #7AF99C #7A97F9 #F97AD7
square
#F9DC7A #7AF99C #7A97F9 #F97AD7
split-complementary
#F9DC7A #7AD7F9 #9C7AF9
monochromatic
#EEBA0B #F6CD3F #F9DC7A #FCEBB5 #FEF7E2

Accessibility & contrast

On white

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

On black

15.55
#F9DC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC7A
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC7A#FFFFFF#000000##000000
##F9DC7A1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED971
Deuteranopia (green-blind)
#F6E17E
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f9dc7a;
/* rgb */ color: rgb(249, 220, 122);
/* oklch */ color: oklch(89.9% 0.122 93.3);
Tailwind
colors: {
  custom: {
    50: '#fee6a2',
    500: '#f9dc7a',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc7a;
$custom-light: #fee6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc7a",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 122
  },
  "hsl": {
    "h": 46.299,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89867,
    "c": 0.1223,
    "h": 93.3
  },
  "luminance": 0.72731
}

Semantic roles & 50–950 ramp

primary
#F9DC7A
secondary
#4264D5
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F9DC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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