#F8DC72#F8DC72

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

Color values

HEX#F8DC72
RGBrgb(248, 220, 114)
HSLhsl(47, 91%, 71%)
HSVhsv(47, 54%, 97%)
CMYKcmyk(0%, 11.3%, 54%, 2.7%)
CIE-LABlab(88.14, -3.14, 54.94)
CIE-LCHlch(88.14, 55.03, 93.27°)
OKLaboklab(89.68% -0.0109 0.1291)
OKLCHoklch(89.68% 0.13 94.8)
XYZxyz(67.3444, 72.3608, 26.3360)
Luminance0.7236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC72 #728EF8
analogous
#F89972 #F8DC72 #D1F872
triadic
#F8DC72 #72F8DC #DC72F8
tetradic
#F8DC72 #72F899 #728EF8 #F872D1
square
#F8DC72 #72F899 #728EF8 #F872D1
split-complementary
#F8DC72 #72D1F8 #9972F8
monochromatic
#E4B70B #F5CE38 #F8DC72 #FBEAAC #FEF8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DC72#FFFFFF#000000##000000
##F8DC721.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)
#EFD868
Deuteranopia (green-blind)
#F6E176
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dc72;
/* rgb */ color: rgb(248, 220, 114);
/* oklch */ color: oklch(89.7% 0.130 94.8);
Tailwind
colors: {
  custom: {
    50: '#fde69d',
    500: '#f8dc72',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc72;
$custom-light: #fde69d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc72",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 114
  },
  "hsl": {
    "h": 47.463,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89675,
    "c": 0.12961,
    "h": 94.8
  },
  "luminance": 0.72358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8DC72

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

Preview Lab → · Contrast checker → · Palette generator →

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