#F8E964#F8E964

#F8E964 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.1% C 0.153 H 102.9°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#F8E964
RGBrgb(248, 233, 100)
HSLhsl(54, 91%, 68%)
HSVhsv(54, 60%, 97%)
CMYKcmyk(0%, 6%, 59.7%, 2.7%)
CIE-LABlab(91.31, -10.66, 64.81)
CIE-LCHlch(91.31, 65.68, 99.34°)
OKLaboklab(92.14% -0.0341 0.1488)
OKLCHoklch(92.14% 0.153 102.9)
XYZxyz(70.1531, 79.1570, 23.6376)
Luminance0.7915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E964 #6473F8
analogous
#F89F64 #F8E964 #BDF864
triadic
#F8E964 #64F8E9 #E964F8
tetradic
#F8E964 #64F89F #6473F8 #F864BD
square
#F8E964 #64F89F #6473F8 #F864BD
split-complementary
#F8E964 #64BDF8 #9F64F8
monochromatic
#D8C30A #F5E129 #F8E964 #FBF19F #FDFAD9

Accessibility & contrast

On white

1.25
#F8E964 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.83
#F8E964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E964
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E964#FFFFFF#000000##000000
##F8E9641.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE255
Deuteranopia (green-blind)
#FFE96B
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f8e964;
/* rgb */ color: rgb(248, 233, 100);
/* oklch */ color: oklch(92.1% 0.153 102.9);
Tailwind
colors: {
  custom: {
    50: '#feef95',
    500: '#f8e964',
    950: '#000000',
  },
}
SCSS
$custom: #f8e964;
$custom-light: #feef95;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e964",
  "rgb": {
    "r": 248,
    "g": 233,
    "b": 100
  },
  "hsl": {
    "h": 53.919,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.92138,
    "c": 0.1526,
    "h": 102.9
  },
  "luminance": 0.79154
}

Semantic roles & 50–950 ramp

primary
#F8E964
secondary
#2F3FD1
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8E964

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

Preview Lab → · Contrast checker → · Palette generator →

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