#F8D864#F8D864

#F8D864 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.7% C 0.139 H 94.0°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#F8D864
RGBrgb(248, 216, 100)
HSLhsl(47, 91%, 68%)
HSVhsv(47, 60%, 97%)
CMYKcmyk(0%, 12.9%, 59.7%, 2.7%)
CIE-LABlab(86.99, -2.13, 60.02)
CIE-LCHlch(86.99, 60.06, 92.04°)
OKLaboklab(88.72% -0.0096 0.1385)
OKLCHoklch(88.72% 0.139 94)
XYZxyz(65.5704, 69.9915, 22.1100)
Luminance0.6999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D864 #6484F8
analogous
#F88E64 #F8D864 #CEF864
triadic
#F8D864 #64F8D8 #D864F8
tetradic
#F8D864 #64F88E #6484F8 #F864CE
square
#F8D864 #64F88E #6484F8 #F864CE
split-complementary
#F8D864 #64CEF8 #8E64F8
monochromatic
#D8AB0A #F5C929 #F8D864 #FBE79F #FDF5D9

Accessibility & contrast

On white

1.40
#F8D864 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.00
#F8D864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D864
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D864#FFFFFF#000000##000000
##F8D8641.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD458
Deuteranopia (green-blind)
#F4DE69
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d864;
/* rgb */ color: rgb(248, 216, 100);
/* oklch */ color: oklch(88.7% 0.139 94.0);
Tailwind
colors: {
  custom: {
    50: '#fee394',
    500: '#f8d864',
    950: '#000000',
  },
}
SCSS
$custom: #f8d864;
$custom-light: #fee394;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d864",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 100
  },
  "hsl": {
    "h": 47.027,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88721,
    "c": 0.13887,
    "h": 94
  },
  "luminance": 0.69988
}

Semantic roles & 50–950 ramp

primary
#F8D864
secondary
#2F52D1
accent
#32E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D864

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

Preview Lab → · Contrast checker → · Palette generator →

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