#F8E568#F8E568

#F8E568 is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.4% C 0.146 H 100.7°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#F8E568
RGBrgb(248, 229, 104)
HSLhsl(52, 91%, 69%)
HSVhsv(52, 58%, 97%)
CMYKcmyk(0%, 7.7%, 58.1%, 2.7%)
CIE-LABlab(90.32, -8.40, 61.98)
CIE-LCHlch(90.32, 62.55, 97.72°)
OKLaboklab(91.37% -0.0272 0.1432)
OKLCHoklch(91.37% 0.146 100.7)
XYZxyz(69.2320, 76.9973, 24.3092)
Luminance0.7700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E568 #687BF8
analogous
#F89D68 #F8E568 #C3F868
triadic
#F8E568 #68F8E5 #E568F8
tetradic
#F8E568 #68F89D #687BF8 #F868C3
square
#F8E568 #68F89D #687BF8 #F868C3
split-complementary
#F8E568 #68C3F8 #9D68F8
monochromatic
#DBC00A #F5DB2E #F8E568 #FBEFA2 #FDF9DD

Accessibility & contrast

On white

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

On black

16.40
#F8E568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E568
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E568#FFFFFF#000000##000000
##F8E5681.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF5B
Deuteranopia (green-blind)
#FEE76E
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e568;
/* rgb */ color: rgb(248, 229, 104);
/* oklch */ color: oklch(91.4% 0.146 100.7);
Tailwind
colors: {
  custom: {
    50: '#fdec97',
    500: '#f8e568',
    950: '#000000',
  },
}
SCSS
$custom: #f8e568;
$custom-light: #fdec97;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e568",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 104
  },
  "hsl": {
    "h": 52.083,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91368,
    "c": 0.14578,
    "h": 100.7
  },
  "luminance": 0.76995
}

Semantic roles & 50–950 ramp

primary
#F8E568
secondary
#3247D2
accent
#1EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E568

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

Preview Lab → · Contrast checker → · Palette generator →

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