#F8ED64#F8ED64

#F8ED64 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 93.0% C 0.156 H 104.7°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#F8ED64
RGBrgb(248, 237, 100)
HSLhsl(56, 91%, 68%)
HSVhsv(56, 60%, 97%)
CMYKcmyk(0%, 4.4%, 59.7%, 2.7%)
CIE-LABlab(92.33, -12.63, 65.93)
CIE-LCHlch(92.33, 67.13, 100.85°)
OKLaboklab(92.95% -0.0397 0.1511)
OKLCHoklch(92.95% 0.156 104.7)
XYZxyz(71.2983, 81.4474, 24.0194)
Luminance0.8145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED64 #646FF8
analogous
#F8A364 #F8ED64 #B9F864
triadic
#F8ED64 #64F8ED #ED64F8
tetradic
#F8ED64 #64F8A3 #646FF8 #F864B9
square
#F8ED64 #64F8A3 #646FF8 #F864B9
split-complementary
#F8ED64 #64B9F8 #A364F8
monochromatic
#D8C90A #F5E629 #F8ED64 #FBF49F #FDFBD9

Accessibility & contrast

On white

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

On black

17.29
#F8ED64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED64
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED64#FFFFFF#000000##000000
##F8ED641.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE554
Deuteranopia (green-blind)
#FFEC6C
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ed64;
/* rgb */ color: rgb(248, 237, 100);
/* oklch */ color: oklch(93.0% 0.156 104.7);
Tailwind
colors: {
  custom: {
    50: '#fef295',
    500: '#f8ed64',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed64;
$custom-light: #fef295;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed64",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 100
  },
  "hsl": {
    "h": 55.541,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.92953,
    "c": 0.15626,
    "h": 104.7
  },
  "luminance": 0.81445
}

Semantic roles & 50–950 ramp

primary
#F8ED64
secondary
#2F3BD1
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8ED64

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

Preview Lab → · Contrast checker → · Palette generator →

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