#F8E564#F8E564

#F8E564 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.3% C 0.149 H 101.0°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#F8E564
RGBrgb(248, 229, 100)
HSLhsl(52, 91%, 68%)
HSVhsv(52, 60%, 97%)
CMYKcmyk(0%, 7.7%, 59.7%, 2.7%)
CIE-LABlab(90.28, -8.67, 63.68)
CIE-LCHlch(90.28, 64.27, 97.76°)
OKLaboklab(91.33% -0.0284 0.1464)
OKLCHoklch(91.33% 0.149 101)
XYZxyz(69.0336, 76.9180, 23.2644)
Luminance0.7692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E564 #6477F8
analogous
#F89B64 #F8E564 #C1F864
triadic
#F8E564 #64F8E5 #E564F8
tetradic
#F8E564 #64F89B #6477F8 #F864C1
square
#F8E564 #64F89B #6477F8 #F864C1
split-complementary
#F8E564 #64C1F8 #9B64F8
monochromatic
#D8BD0A #F5DB29 #F8E564 #FBEF9F #FDF9D9

Accessibility & contrast

On white

1.28
#F8E564 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#F8E564 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E564
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E564#FFFFFF#000000##000000
##F8E5641.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF56
Deuteranopia (green-blind)
#FEE76B
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e564;
/* rgb */ color: rgb(248, 229, 100);
/* oklch */ color: oklch(91.3% 0.149 101.0);
Tailwind
colors: {
  custom: {
    50: '#feec95',
    500: '#f8e564',
    950: '#000000',
  },
}
SCSS
$custom: #f8e564;
$custom-light: #feec95;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e564",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 100
  },
  "hsl": {
    "h": 52.297,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.91327,
    "c": 0.14909,
    "h": 101
  },
  "luminance": 0.76915
}

Semantic roles & 50–950 ramp

primary
#F8E564
secondary
#2F44D1
accent
#1DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E564

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

Preview Lab → · Contrast checker → · Palette generator →

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