#F8EF78#F8EF78

#F8EF78 is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.6% C 0.141 H 104.9°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#F8EF78
RGBrgb(248, 239, 120)
HSLhsl(56, 90%, 72%)
HSVhsv(56, 52%, 97%)
CMYKcmyk(0%, 3.6%, 51.6%, 2.7%)
CIE-LABlab(93.04, -12.15, 57.92)
CIE-LCHlch(93.04, 59.18, 101.85°)
OKLaboklab(93.58% -0.0362 0.1362)
OKLCHoklch(93.58% 0.141 104.9)
XYZxyz(72.9701, 83.0478, 29.9517)
Luminance0.8305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF78 #7881F8
analogous
#F8AF78 #F8EF78 #C1F878
triadic
#F8EF78 #78F8EF #EF78F8
tetradic
#F8EF78 #78F8AF #7881F8 #F878C1
square
#F8EF78 #78F8AF #7881F8 #F878C1
split-complementary
#F8EF78 #78C1F8 #AF78F8
monochromatic
#E9DA0C #F5E83E #F8EF78 #FBF6B2 #FDFCE2

Accessibility & contrast

On white

1.19
#F8EF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.61
#F8EF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF78
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF78#FFFFFF#000000##000000
##F8EF781.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86D
Deuteranopia (green-blind)
#FFEE7E
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8ef78;
/* rgb */ color: rgb(248, 239, 120);
/* oklch */ color: oklch(93.6% 0.141 104.9);
Tailwind
colors: {
  custom: {
    50: '#fdf4a2',
    500: '#f8ef78',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef78;
$custom-light: #fdf4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef78",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 120
  },
  "hsl": {
    "h": 55.781,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93575,
    "c": 0.14091,
    "h": 104.9
  },
  "luminance": 0.83046
}

Semantic roles & 50–950 ramp

primary
#F8EF78
secondary
#404BD4
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8EF78

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

Preview Lab → · Contrast checker → · Palette generator →

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