#F8EA78#F8EA78

#F8EA78 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.6% C 0.136 H 102.3°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#F8EA78
RGBrgb(248, 234, 120)
HSLhsl(53, 90%, 72%)
HSVhsv(53, 52%, 97%)
CMYKcmyk(0%, 5.6%, 51.6%, 2.7%)
CIE-LABlab(91.76, -9.68, 56.42)
CIE-LCHlch(91.76, 57.24, 99.73°)
OKLaboklab(92.56% -0.0291 0.1329)
OKLCHoklch(92.56% 0.136 102.3)
XYZxyz(71.5265, 80.1606, 29.4705)
Luminance0.8016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA78 #7886F8
analogous
#F8AA78 #F8EA78 #C6F878
triadic
#F8EA78 #78F8EA #EA78F8
tetradic
#F8EA78 #78F8AA #7886F8 #F878C6
square
#F8EA78 #78F8AA #7886F8 #F878C6
split-complementary
#F8EA78 #78C6F8 #AA78F8
monochromatic
#E9D10C #F5E13E #F8EA78 #FBF3B2 #FDFAE2

Accessibility & contrast

On white

1.23
#F8EA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#F8EA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA78
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA78#FFFFFF#000000##000000
##F8EA781.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46D
Deuteranopia (green-blind)
#FFEA7D
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8ea78;
/* rgb */ color: rgb(248, 234, 120);
/* oklch */ color: oklch(92.6% 0.136 102.3);
Tailwind
colors: {
  custom: {
    50: '#fdf0a2',
    500: '#f8ea78',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea78;
$custom-light: #fdf0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea78",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 120
  },
  "hsl": {
    "h": 53.438,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9256,
    "c": 0.13607,
    "h": 102.3
  },
  "luminance": 0.80158
}

Semantic roles & 50–950 ramp

primary
#F8EA78
secondary
#4050D4
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EA78

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

Preview Lab → · Contrast checker → · Palette generator →

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