#F8DC71#F8DC71

#F8DC71 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.7% C 0.131 H 94.9°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#F8DC71
RGBrgb(248, 220, 113)
HSLhsl(48, 91%, 71%)
HSVhsv(48, 54%, 97%)
CMYKcmyk(0%, 11.3%, 54.4%, 2.7%)
CIE-LABlab(88.13, -3.22, 55.40)
CIE-LCHlch(88.13, 55.49, 93.32°)
OKLaboklab(89.66% -0.0112 0.13)
OKLCHoklch(89.66% 0.131 94.9)
XYZxyz(67.2878, 72.3381, 26.0379)
Luminance0.7234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC71 #718DF8
analogous
#F89871 #F8DC71 #D0F871
triadic
#F8DC71 #71F8DC #DC71F8
tetradic
#F8DC71 #71F898 #718DF8 #F871D0
square
#F8DC71 #71F898 #718DF8 #F871D0
split-complementary
#F8DC71 #71D0F8 #9871F8
monochromatic
#E3B70B #F5CE37 #F8DC71 #FBEAAB #FEF8E2

Accessibility & contrast

On white

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

On black

15.47
#F8DC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC71
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC71#FFFFFF#000000##000000
##F8DC711.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8dc71;
/* rgb */ color: rgb(248, 220, 113);
/* oklch */ color: oklch(89.7% 0.131 94.9);
Tailwind
colors: {
  custom: {
    50: '#fde69c',
    500: '#f8dc71',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc71;
$custom-light: #fde69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc71",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 47.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89663,
    "c": 0.13051,
    "h": 94.9
  },
  "luminance": 0.72335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8DC71

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

Preview Lab → · Contrast checker → · Palette generator →

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