#F8DB74#F8DB74

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

Color values

HEX#F8DB74
RGBrgb(248, 219, 116)
HSLhsl(47, 90%, 71%)
HSVhsv(47, 53%, 97%)
CMYKcmyk(0%, 11.7%, 53.2%, 2.7%)
CIE-LABlab(87.91, -2.47, 53.73)
CIE-LCHlch(87.91, 53.79, 92.63°)
OKLaboklab(89.5% -0.0088 0.1267)
OKLCHoklch(89.5% 0.127 94)
XYZxyz(67.1978, 71.8835, 26.8549)
Luminance0.7188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB74 #7491F8
analogous
#F89974 #F8DB74 #D3F874
triadic
#F8DB74 #74F8DB #DB74F8
tetradic
#F8DB74 #74F899 #7491F8 #F874D3
square
#F8DB74 #74F899 #7491F8 #F874D3
split-complementary
#F8DB74 #74D3F8 #9974F8
monochromatic
#E6B60C #F5CC3A #F8DB74 #FBEAAE #FEF7E2

Accessibility & contrast

On white

1.37
#F8DB74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#F8DB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB74
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB74#FFFFFF#000000##000000
##F8DB741.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8db74;
/* rgb */ color: rgb(248, 219, 116);
/* oklch */ color: oklch(89.5% 0.127 94.0);
Tailwind
colors: {
  custom: {
    50: '#fde59e',
    500: '#f8db74',
    950: '#000000',
  },
}
SCSS
$custom: #f8db74;
$custom-light: #fde59e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db74",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 116
  },
  "hsl": {
    "h": 46.818,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.89501,
    "c": 0.127,
    "h": 94
  },
  "luminance": 0.7188
}

Semantic roles & 50–950 ramp

primary
#F8DB74
secondary
#3D5ED3
accent
#32E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8DB74

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

Preview Lab → · Contrast checker → · Palette generator →

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