#F8F264#F8F264

#F8F264 is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.0% C 0.161 H 106.8°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#F8F264
RGBrgb(248, 242, 100)
HSLhsl(58, 91%, 68%)
HSVhsv(58, 60%, 97%)
CMYKcmyk(0%, 2.4%, 59.7%, 2.7%)
CIE-LABlab(93.62, -15.08, 67.33)
CIE-LCHlch(93.62, 69.00, 102.62°)
OKLaboklab(93.98% -0.0466 0.1541)
OKLCHoklch(93.98% 0.161 106.8)
XYZxyz(72.7662, 84.3831, 24.5086)
Luminance0.8438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F264 #646AF8
analogous
#F8A864 #F8F264 #B4F864
triadic
#F8F264 #64F8F2 #F264F8
tetradic
#F8F264 #64F8A8 #646AF8 #F864B4
square
#F8F264 #64F8A8 #646AF8 #F864B4
split-complementary
#F8F264 #64B4F8 #A864F8
monochromatic
#D8CF0A #F5ED29 #F8F264 #FBF79F #FDFCD9

Accessibility & contrast

On white

1.17
#F8F264 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#F8F264 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F264
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F264#FFFFFF#000000##000000
##F8F2641.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE954
Deuteranopia (green-blind)
#FFEF6C
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f264;
/* rgb */ color: rgb(248, 242, 100);
/* oklch */ color: oklch(94.0% 0.161 106.8);
Tailwind
colors: {
  custom: {
    50: '#fef696',
    500: '#f8f264',
    950: '#000000',
  },
}
SCSS
$custom: #f8f264;
$custom-light: #fef696;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f264",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 100
  },
  "hsl": {
    "h": 57.568,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.93977,
    "c": 0.16103,
    "h": 106.8
  },
  "luminance": 0.84381
}

Semantic roles & 50–950 ramp

primary
#F8F264
secondary
#2F36D1
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F264

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

Preview Lab → · Contrast checker → · Palette generator →

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