#F8DC73#F8DC73

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

Color values

HEX#F8DC73
RGBrgb(248, 220, 115)
HSLhsl(47, 90%, 71%)
HSVhsv(47, 54%, 97%)
CMYKcmyk(0%, 11.3%, 53.6%, 2.7%)
CIE-LABlab(88.15, -3.06, 54.49)
CIE-LCHlch(88.15, 54.57, 93.21°)
OKLaboklab(89.69% -0.0106 0.1283)
OKLCHoklch(89.69% 0.129 94.7)
XYZxyz(67.4016, 72.3837, 26.6375)
Luminance0.7238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC73 #738FF8
analogous
#F89973 #F8DC73 #D2F873
triadic
#F8DC73 #73F8DC #DC73F8
tetradic
#F8DC73 #73F899 #738FF8 #F873D2
square
#F8DC73 #73F899 #738FF8 #F873D2
split-complementary
#F8DC73 #73D2F8 #9973F8
monochromatic
#E5B70B #F5CD39 #F8DC73 #FBEBAD #FEF8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DC73#FFFFFF#000000##000000
##F8DC731.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)
#EFD869
Deuteranopia (green-blind)
#F6E177
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dc73;
/* rgb */ color: rgb(248, 220, 115);
/* oklch */ color: oklch(89.7% 0.129 94.7);
Tailwind
colors: {
  custom: {
    50: '#fde69e',
    500: '#f8dc73',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc73;
$custom-light: #fde69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc73",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 115
  },
  "hsl": {
    "h": 47.368,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89687,
    "c": 0.12868,
    "h": 94.7
  },
  "luminance": 0.72381
}

Semantic roles & 50–950 ramp

primary
#F8DC73
secondary
#3C5CD3
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DC73

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

Preview Lab → · Contrast checker → · Palette generator →

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