#F9DB79#F9DB79

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

Color values

HEX#F9DB79
RGBrgb(249, 219, 121)
HSLhsl(46, 91%, 73%)
HSVhsv(46, 51%, 98%)
CMYKcmyk(0%, 12%, 51.4%, 2.4%)
CIE-LABlab(88.06, -1.66, 51.56)
CIE-LCHlch(88.06, 51.58, 91.84°)
OKLaboklab(89.66% -0.0059 0.1224)
OKLCHoklch(89.66% 0.123 92.8)
XYZxyz(67.8521, 72.1863, 28.4448)
Luminance0.7218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DB79 #7997F9
analogous
#F99B79 #F9DB79 #D7F979
triadic
#F9DB79 #79F9DB #DB79F9
tetradic
#F9DB79 #79F99B #7997F9 #F979D7
square
#F9DB79 #79F99B #7997F9 #F979D7
split-complementary
#F9DB79 #79D7F9 #9B79F9
monochromatic
#EDB80B #F6CB3E #F9DB79 #FCEBB4 #FEF7E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9DB79#FFFFFF#000000##000000
##F9DB791.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)
#EDD870
Deuteranopia (green-blind)
#F5E17D
Tritanopia (blue-blind)
#FFCDC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f9db79;
/* rgb */ color: rgb(249, 219, 121);
/* oklch */ color: oklch(89.7% 0.123 92.8);
Tailwind
colors: {
  custom: {
    50: '#fee5a2',
    500: '#f9db79',
    950: '#000000',
  },
}
SCSS
$custom: #f9db79;
$custom-light: #fee5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9db79",
  "rgb": {
    "r": 249,
    "g": 219,
    "b": 121
  },
  "hsl": {
    "h": 45.938,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.89656,
    "c": 0.12251,
    "h": 92.8
  },
  "luminance": 0.72183
}

Semantic roles & 50–950 ramp

primary
#F9DB79
secondary
#4164D5
accent
#36E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F9DB79

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

Preview Lab → · Contrast checker → · Palette generator →

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