#F8E264#F8E264

#F8E264 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.7% C 0.147 H 99.5°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#F8E264
RGBrgb(248, 226, 100)
HSLhsl(51, 91%, 68%)
HSVhsv(51, 60%, 97%)
CMYKcmyk(0%, 8.9%, 59.7%, 2.7%)
CIE-LABlab(89.52, -7.18, 62.84)
CIE-LCHlch(89.52, 63.25, 96.52°)
OKLaboklab(90.72% -0.0241 0.1446)
OKLCHoklch(90.72% 0.147 99.5)
XYZxyz(68.2107, 75.2722, 22.9901)
Luminance0.7527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E264 #647AF8
analogous
#F89864 #F8E264 #C4F864
triadic
#F8E264 #64F8E2 #E264F8
tetradic
#F8E264 #64F898 #647AF8 #F864C4
square
#F8E264 #64F898 #647AF8 #F864C4
split-complementary
#F8E264 #64C4F8 #9864F8
monochromatic
#D8B90A #F5D729 #F8E264 #FBED9F #FDF8D9

Accessibility & contrast

On white

1.31
#F8E264 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#F8E264 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E264
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E264#FFFFFF#000000##000000
##F8E2641.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC56
Deuteranopia (green-blind)
#FCE56A
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f8e264;
/* rgb */ color: rgb(248, 226, 100);
/* oklch */ color: oklch(90.7% 0.147 99.5);
Tailwind
colors: {
  custom: {
    50: '#feea95',
    500: '#f8e264',
    950: '#000000',
  },
}
SCSS
$custom: #f8e264;
$custom-light: #feea95;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e264",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 100
  },
  "hsl": {
    "h": 51.081,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90721,
    "c": 0.14656,
    "h": 99.5
  },
  "luminance": 0.75269
}

Semantic roles & 50–950 ramp

primary
#F8E264
secondary
#2F47D1
accent
#22E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160D
muted
#86847F

Preview Lab

Preview with #F8E264

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

Preview Lab → · Contrast checker → · Palette generator →

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