#F8EB78#F8EB78

#F8EB78 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.8% C 0.137 H 102.9°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#F8EB78
RGBrgb(248, 235, 120)
HSLhsl(54, 90%, 72%)
HSVhsv(54, 52%, 97%)
CMYKcmyk(0%, 5.2%, 51.6%, 2.7%)
CIE-LABlab(92.01, -10.17, 56.72)
CIE-LCHlch(92.01, 57.62, 100.17°)
OKLaboklab(92.76% -0.0305 0.1336)
OKLCHoklch(92.76% 0.137 102.9)
XYZxyz(71.8120, 80.7316, 29.5656)
Luminance0.8073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EB78 #7885F8
analogous
#F8AB78 #F8EB78 #C5F878
triadic
#F8EB78 #78F8EB #EB78F8
tetradic
#F8EB78 #78F8AB #7885F8 #F878C5
square
#F8EB78 #78F8AB #7885F8 #F878C5
split-complementary
#F8EB78 #78C5F8 #AB78F8
monochromatic
#E9D30C #F5E23E #F8EB78 #FBF4B2 #FDFBE2

Accessibility & contrast

On white

1.22
#F8EB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.15
#F8EB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EB78
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EB78#FFFFFF#000000##000000
##F8EB781.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46D
Deuteranopia (green-blind)
#FFEB7D
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8eb78;
/* rgb */ color: rgb(248, 235, 120);
/* oklch */ color: oklch(92.8% 0.137 102.9);
Tailwind
colors: {
  custom: {
    50: '#fdf1a2',
    500: '#f8eb78',
    950: '#000000',
  },
}
SCSS
$custom: #f8eb78;
$custom-light: #fdf1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8eb78",
  "rgb": {
    "r": 248,
    "g": 235,
    "b": 120
  },
  "hsl": {
    "h": 53.906,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92762,
    "c": 0.13701,
    "h": 102.9
  },
  "luminance": 0.80729
}

Semantic roles & 50–950 ramp

primary
#F8EB78
secondary
#404FD4
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EB78

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

Preview Lab → · Contrast checker → · Palette generator →

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