#F8DB79#F8DB79

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

Color values

HEX#F8DB79
RGBrgb(248, 219, 121)
HSLhsl(46, 90%, 72%)
HSVhsv(46, 51%, 97%)
CMYKcmyk(0%, 11.7%, 51.2%, 2.7%)
CIE-LABlab(87.97, -2.06, 51.43)
CIE-LCHlch(87.97, 51.47, 92.30°)
OKLaboklab(89.57% -0.007 0.1221)
OKLCHoklch(89.57% 0.122 93.3)
XYZxyz(67.4965, 72.0029, 28.4281)
Luminance0.7200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB79 #7996F8
analogous
#F89B79 #F8DB79 #D6F879
triadic
#F8DB79 #79F8DB #DB79F8
tetradic
#F8DB79 #79F89B #7996F8 #F879D6
square
#F8DB79 #79F89B #7996F8 #F879D6
split-complementary
#F8DB79 #79D6F8 #9B79F8
monochromatic
#EAB80C #F5CB3F #F8DB79 #FBEBB3 #FDF7E2

Accessibility & contrast

On white

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

On black

15.40
#F8DB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB79
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB79#FFFFFF#000000##000000
##F8DB791.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8db79;
/* rgb */ color: rgb(248, 219, 121);
/* oklch */ color: oklch(89.6% 0.122 93.3);
Tailwind
colors: {
  custom: {
    50: '#fde5a2',
    500: '#f8db79',
    950: '#000000',
  },
}
SCSS
$custom: #f8db79;
$custom-light: #fde5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db79",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 121
  },
  "hsl": {
    "h": 46.299,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89565,
    "c": 0.1223,
    "h": 93.3
  },
  "luminance": 0.72
}

Semantic roles & 50–950 ramp

primary
#F8DB79
secondary
#4163D4
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8DB79

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

Preview Lab → · Contrast checker → · Palette generator →

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