#F9DF7A#F9DF7A

#F9DF7A is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.5% C 0.125 H 95.3°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#F9DF7A
RGBrgb(249, 223, 122)
HSLhsl(48, 91%, 73%)
HSVhsv(48, 51%, 98%)
CMYKcmyk(0%, 10.4%, 51%, 2.4%)
CIE-LABlab(89.08, -3.60, 52.30)
CIE-LCHlch(89.08, 52.43, 93.94°)
OKLaboklab(90.46% -0.0114 0.1241)
OKLCHoklch(90.46% 0.125 95.3)
XYZxyz(68.9698, 74.3231, 29.1214)
Luminance0.7432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DF7A #7A94F9
analogous
#F9A07A #F9DF7A #D3F97A
triadic
#F9DF7A #7AF9DF #DF7AF9
tetradic
#F9DF7A #7AF9A0 #7A94F9 #F97AD3
square
#F9DF7A #7AF9A0 #7A94F9 #F97AD3
split-complementary
#F9DF7A #7AD3F9 #A07AF9
monochromatic
#EEBF0B #F6D13F #F9DF7A #FCEDB5 #FEF8E2

Accessibility & contrast

On white

1.32
#F9DF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#F9DF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DF7A
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DF7A#FFFFFF#000000##000000
##F9DF7A1.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB71
Deuteranopia (green-blind)
#F8E37E
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f9df7a;
/* rgb */ color: rgb(249, 223, 122);
/* oklch */ color: oklch(90.5% 0.125 95.3);
Tailwind
colors: {
  custom: {
    50: '#fee8a2',
    500: '#f9df7a',
    950: '#000000',
  },
}
SCSS
$custom: #f9df7a;
$custom-light: #fee8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9df7a",
  "rgb": {
    "r": 249,
    "g": 223,
    "b": 122
  },
  "hsl": {
    "h": 47.717,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90463,
    "c": 0.12462,
    "h": 95.3
  },
  "luminance": 0.7432
}

Semantic roles & 50–950 ramp

primary
#F9DF7A
secondary
#4260D5
accent
#2FE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F9DF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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