#F8DB76#F8DB76

#F8DB76 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.5% C 0.125 H 93.7°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#F8DB76
RGBrgb(248, 219, 118)
HSLhsl(47, 90%, 72%)
HSVhsv(47, 52%, 97%)
CMYKcmyk(0%, 11.7%, 52.4%, 2.7%)
CIE-LABlab(87.94, -2.31, 52.82)
CIE-LCHlch(87.94, 52.87, 92.50°)
OKLaboklab(89.53% -0.0081 0.1249)
OKLCHoklch(89.53% 0.125 93.7)
XYZxyz(67.3154, 71.9305, 27.4742)
Luminance0.7193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB76 #7693F8
analogous
#F89A76 #F8DB76 #D4F876
triadic
#F8DB76 #76F8DB #DB76F8
tetradic
#F8DB76 #76F89A #7693F8 #F876D4
square
#F8DB76 #76F89A #7693F8 #F876D4
split-complementary
#F8DB76 #76D4F8 #9A76F8
monochromatic
#E8B70C #F5CC3C #F8DB76 #FBEAB0 #FEF7E2

Accessibility & contrast

On white

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

On black

15.39
#F8DB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB76
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB76#FFFFFF#000000##000000
##F8DB761.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED76D
Deuteranopia (green-blind)
#F5E07A
Tritanopia (blue-blind)
#FFCDC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f8db76;
/* rgb */ color: rgb(248, 219, 118);
/* oklch */ color: oklch(89.5% 0.125 93.7);
Tailwind
colors: {
  custom: {
    50: '#fde5a0',
    500: '#f8db76',
    950: '#000000',
  },
}
SCSS
$custom: #f8db76;
$custom-light: #fde5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db76",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 118
  },
  "hsl": {
    "h": 46.615,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89526,
    "c": 0.12514,
    "h": 93.7
  },
  "luminance": 0.71928
}

Semantic roles & 50–950 ramp

primary
#F8DB76
secondary
#3F60D4
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8DB76

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

Preview Lab → · Contrast checker → · Palette generator →

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