#F8ED78#F8ED78

#F8ED78 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.2% C 0.139 H 103.9°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#F8ED78
RGBrgb(248, 237, 120)
HSLhsl(55, 90%, 72%)
HSVhsv(55, 52%, 97%)
CMYKcmyk(0%, 4.4%, 51.6%, 2.7%)
CIE-LABlab(92.52, -11.16, 57.32)
CIE-LCHlch(92.52, 58.40, 101.02°)
OKLaboklab(93.17% -0.0334 0.1349)
OKLCHoklch(93.17% 0.139 103.9)
XYZxyz(72.3878, 81.8832, 29.7576)
Luminance0.8188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED78 #7883F8
analogous
#F8AD78 #F8ED78 #C3F878
triadic
#F8ED78 #78F8ED #ED78F8
tetradic
#F8ED78 #78F8AD #7883F8 #F878C3
square
#F8ED78 #78F8AD #7883F8 #F878C3
split-complementary
#F8ED78 #78C3F8 #AD78F8
monochromatic
#E9D60C #F5E53E #F8ED78 #FBF5B2 #FDFBE2

Accessibility & contrast

On white

1.21
#F8ED78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#F8ED78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED78
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED78#FFFFFF#000000##000000
##F8ED781.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66D
Deuteranopia (green-blind)
#FFEC7E
Tritanopia (blue-blind)
#FFE0D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ed78;
/* rgb */ color: rgb(248, 237, 120);
/* oklch */ color: oklch(93.2% 0.139 103.9);
Tailwind
colors: {
  custom: {
    50: '#fdf2a2',
    500: '#f8ed78',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed78;
$custom-light: #fdf2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed78",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 120
  },
  "hsl": {
    "h": 54.844,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93168,
    "c": 0.13894,
    "h": 103.9
  },
  "luminance": 0.81881
}

Semantic roles & 50–950 ramp

primary
#F8ED78
secondary
#404DD4
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F8ED78

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

Preview Lab → · Contrast checker → · Palette generator →

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