#F8DF78#F8DF78

#F8DF78 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.3% C 0.126 H 96.0°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#F8DF78
RGBrgb(248, 223, 120)
HSLhsl(48, 90%, 72%)
HSVhsv(48, 52%, 97%)
CMYKcmyk(0%, 10.1%, 51.6%, 2.7%)
CIE-LABlab(88.97, -4.17, 53.10)
CIE-LCHlch(88.97, 53.26, 94.49°)
OKLaboklab(90.35% -0.0132 0.1257)
OKLCHoklch(90.35% 0.126 96)
XYZxyz(68.4916, 74.0907, 28.4588)
Luminance0.7409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF78 #7891F8
analogous
#F89F78 #F8DF78 #D1F878
triadic
#F8DF78 #78F8DF #DF78F8
tetradic
#F8DF78 #78F89F #7891F8 #F878D1
square
#F8DF78 #78F89F #7891F8 #F878D1
split-complementary
#F8DF78 #78D1F8 #9F78F8
monochromatic
#E9BE0C #F5D13E #F8DF78 #FBEDB2 #FDF8E2

Accessibility & contrast

On white

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

On black

15.82
#F8DF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF78
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF78#FFFFFF#000000##000000
##F8DF781.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8df78;
/* rgb */ color: rgb(248, 223, 120);
/* oklch */ color: oklch(90.3% 0.126 96.0);
Tailwind
colors: {
  custom: {
    50: '#fde8a1',
    500: '#f8df78',
    950: '#000000',
  },
}
SCSS
$custom: #f8df78;
$custom-light: #fde8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df78",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 48.281,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90348,
    "c": 0.12637,
    "h": 96
  },
  "luminance": 0.74088
}

Semantic roles & 50–950 ramp

primary
#F8DF78
secondary
#405DD4
accent
#2DE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8DF78

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

Preview Lab → · Contrast checker → · Palette generator →

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