#F8DF76#F8DF76

#F8DF76 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.3% C 0.128 H 96.2°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#F8DF76
RGBrgb(248, 223, 118)
HSLhsl(48, 90%, 72%)
HSVhsv(48, 52%, 97%)
CMYKcmyk(0%, 10.1%, 52.4%, 2.7%)
CIE-LABlab(88.94, -4.33, 54.02)
CIE-LCHlch(88.94, 54.19, 94.59°)
OKLaboklab(90.32% -0.0139 0.1275)
OKLCHoklch(90.32% 0.128 96.2)
XYZxyz(68.3715, 74.0427, 27.8263)
Luminance0.7404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF76 #768FF8
analogous
#F89E76 #F8DF76 #D0F876
triadic
#F8DF76 #76F8DF #DF76F8
tetradic
#F8DF76 #76F89E #768FF8 #F876D0
square
#F8DF76 #76F89E #768FF8 #F876D0
split-complementary
#F8DF76 #76D0F8 #9E76F8
monochromatic
#E8BD0C #F5D13C #F8DF76 #FBEDB0 #FEF8E2

Accessibility & contrast

On white

1.33
#F8DF76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#F8DF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF76
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF76#FFFFFF#000000##000000
##F8DF761.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB6C
Deuteranopia (green-blind)
#F8E37A
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8df76;
/* rgb */ color: rgb(248, 223, 118);
/* oklch */ color: oklch(90.3% 0.128 96.2);
Tailwind
colors: {
  custom: {
    50: '#fde8a0',
    500: '#f8df76',
    950: '#000000',
  },
}
SCSS
$custom: #f8df76;
$custom-light: #fde8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df76",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 118
  },
  "hsl": {
    "h": 48.462,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90323,
    "c": 0.12826,
    "h": 96.2
  },
  "luminance": 0.7404
}

Semantic roles & 50–950 ramp

primary
#F8DF76
secondary
#3F5BD4
accent
#2CE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8DF76

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

Preview Lab → · Contrast checker → · Palette generator →

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