#F8D464#F8D464

#F8D464 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.9% C 0.136 H 91.6°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#F8D464
RGBrgb(248, 212, 100)
HSLhsl(45, 91%, 68%)
HSVhsv(45, 60%, 97%)
CMYKcmyk(0%, 14.5%, 59.7%, 2.7%)
CIE-LABlab(85.99, -0.10, 58.89)
CIE-LCHlch(85.99, 58.89, 90.09°)
OKLaboklab(87.93% -0.0037 0.1361)
OKLCHoklch(87.93% 0.136 91.6)
XYZxyz(64.5581, 67.9669, 21.7726)
Luminance0.6796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D464 #6488F8
analogous
#F88A64 #F8D464 #D2F864
triadic
#F8D464 #64F8D4 #D464F8
tetradic
#F8D464 #64F88A #6488F8 #F864D2
square
#F8D464 #64F88A #6488F8 #F864D2
split-complementary
#F8D464 #64D2F8 #8A64F8
monochromatic
#D8A60A #F5C429 #F8D464 #FBE49F #FDF4D9

Accessibility & contrast

On white

1.44
#F8D464 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#F8D464 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D464
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D464#FFFFFF#000000##000000
##F8D4641.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D159
Deuteranopia (green-blind)
#F1DB69
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f8d464;
/* rgb */ color: rgb(248, 212, 100);
/* oklch */ color: oklch(87.9% 0.136 91.6);
Tailwind
colors: {
  custom: {
    50: '#fee094',
    500: '#f8d464',
    950: '#000000',
  },
}
SCSS
$custom: #f8d464;
$custom-light: #fee094;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d464",
  "rgb": {
    "r": 248,
    "g": 212,
    "b": 100
  },
  "hsl": {
    "h": 45.405,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87929,
    "c": 0.13617,
    "h": 91.6
  },
  "luminance": 0.67964
}

Semantic roles & 50–950 ramp

primary
#F8D464
secondary
#2F56D1
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D464

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

Preview Lab → · Contrast checker → · Palette generator →

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