#F8DC74#F8DC74

#F8DC74 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.7% C 0.128 H 94.6°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#F8DC74
RGBrgb(248, 220, 116)
HSLhsl(47, 90%, 71%)
HSVhsv(47, 53%, 97%)
CMYKcmyk(0%, 11.3%, 53.2%, 2.7%)
CIE-LABlab(88.16, -2.98, 54.03)
CIE-LCHlch(88.16, 54.11, 93.16°)
OKLaboklab(89.7% -0.0102 0.1274)
OKLCHoklch(89.7% 0.128 94.6)
XYZxyz(67.4595, 72.4068, 26.9422)
Luminance0.7240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC74 #7490F8
analogous
#F89A74 #F8DC74 #D2F874
triadic
#F8DC74 #74F8DC #DC74F8
tetradic
#F8DC74 #74F89A #7490F8 #F874D2
square
#F8DC74 #74F89A #7490F8 #F874D2
split-complementary
#F8DC74 #74D2F8 #9A74F8
monochromatic
#E6B80C #F5CD3A #F8DC74 #FBEBAE #FEF8E2

Accessibility & contrast

On white

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

On black

15.48
#F8DC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC74
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC74#FFFFFF#000000##000000
##F8DC741.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8dc74;
/* rgb */ color: rgb(248, 220, 116);
/* oklch */ color: oklch(89.7% 0.128 94.6);
Tailwind
colors: {
  custom: {
    50: '#fde69e',
    500: '#f8dc74',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc74;
$custom-light: #fde69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc74",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 116
  },
  "hsl": {
    "h": 47.273,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.897,
    "c": 0.12776,
    "h": 94.6
  },
  "luminance": 0.72404
}

Semantic roles & 50–950 ramp

primary
#F8DC74
secondary
#3D5DD3
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8DC74

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

Preview Lab → · Contrast checker → · Palette generator →

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