#F8DC76#F8DC76

#F8DC76 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.7% C 0.126 H 94.3°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#F8DC76
RGBrgb(248, 220, 118)
HSLhsl(47, 90%, 72%)
HSVhsv(47, 52%, 97%)
CMYKcmyk(0%, 11.3%, 52.4%, 2.7%)
CIE-LABlab(88.19, -2.82, 53.12)
CIE-LCHlch(88.19, 53.19, 93.04°)
OKLaboklab(89.73% -0.0095 0.1255)
OKLCHoklch(89.73% 0.126 94.3)
XYZxyz(67.5771, 72.4538, 27.5615)
Luminance0.7245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC76 #7692F8
analogous
#F89B76 #F8DC76 #D3F876
triadic
#F8DC76 #76F8DC #DC76F8
tetradic
#F8DC76 #76F89B #7692F8 #F876D3
square
#F8DC76 #76F89B #7692F8 #F876D3
split-complementary
#F8DC76 #76D3F8 #9B76F8
monochromatic
#E8B80C #F5CD3C #F8DC76 #FBEBB0 #FEF8E2

Accessibility & contrast

On white

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

On black

15.49
#F8DC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC76
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC76#FFFFFF#000000##000000
##F8DC761.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8dc76;
/* rgb */ color: rgb(248, 220, 118);
/* oklch */ color: oklch(89.7% 0.126 94.3);
Tailwind
colors: {
  custom: {
    50: '#fde6a0',
    500: '#f8dc76',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc76;
$custom-light: #fde6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc76",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 118
  },
  "hsl": {
    "h": 47.077,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89725,
    "c": 0.1259,
    "h": 94.3
  },
  "luminance": 0.72451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8DC76

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

Preview Lab → · Contrast checker → · Palette generator →

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