#F9DB74#F9DB74

#F9DB74 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.6% C 0.127 H 93.4°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#F9DB74
RGBrgb(249, 219, 116)
HSLhsl(46, 92%, 72%)
HSVhsv(46, 53%, 98%)
CMYKcmyk(0%, 12%, 53.4%, 2.4%)
CIE-LABlab(88.00, -2.07, 53.86)
CIE-LCHlch(88.00, 53.90, 92.20°)
OKLaboklab(89.59% -0.0076 0.127)
OKLCHoklch(89.59% 0.127 93.4)
XYZxyz(67.5534, 72.0668, 26.8716)
Luminance0.7206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DB74 #7492F9
analogous
#F99974 #F9DB74 #D5F974
triadic
#F9DB74 #74F9DB #DB74F9
tetradic
#F9DB74 #74F999 #7492F9 #F974D5
square
#F9DB74 #74F999 #7492F9 #F974D5
split-complementary
#F9DB74 #74D5F9 #9974F9
monochromatic
#E9B60A #F6CC39 #F9DB74 #FCEAAF #FEF7E2

Accessibility & contrast

On white

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

On black

15.41
#F9DB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DB74
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DB74#FFFFFF#000000##000000
##F9DB741.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED76B
Deuteranopia (green-blind)
#F6E178
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f9db74;
/* rgb */ color: rgb(249, 219, 116);
/* oklch */ color: oklch(89.6% 0.127 93.4);
Tailwind
colors: {
  custom: {
    50: '#fee59e',
    500: '#f9db74',
    950: '#000000',
  },
}
SCSS
$custom: #f9db74;
$custom-light: #fee59e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9db74",
  "rgb": {
    "r": 249,
    "g": 219,
    "b": 116
  },
  "hsl": {
    "h": 46.466,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89592,
    "c": 0.12719,
    "h": 93.4
  },
  "luminance": 0.72064
}

Semantic roles & 50–950 ramp

primary
#F9DB74
secondary
#3D5FD5
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F9DB74

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

Preview Lab → · Contrast checker → · Palette generator →

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