#F8F466#F8F466

#F8F466 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.4% C 0.161 H 107.6°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#F8F466
RGBrgb(248, 244, 102)
HSLhsl(58, 91%, 69%)
HSVhsv(58, 59%, 97%)
CMYKcmyk(0%, 1.6%, 58.9%, 2.7%)
CIE-LABlab(94.15, -15.92, 67.08)
CIE-LCHlch(94.15, 68.94, 103.35°)
OKLaboklab(94.41% -0.0488 0.1538)
OKLCHoklch(94.41% 0.161 107.6)
XYZxyz(73.4627, 85.6193, 25.2242)
Luminance0.8562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F466 #666AF8
analogous
#F8AB66 #F8F466 #B3F866
triadic
#F8F466 #66F8F4 #F466F8
tetradic
#F8F466 #66F8AB #666AF8 #F866B3
square
#F8F466 #66F8AB #666AF8 #F866B3
split-complementary
#F8F466 #66B3F8 #AB66F8
monochromatic
#DAD40A #F5F02B #F8F466 #FBF8A1 #FDFCDB

Accessibility & contrast

On white

1.16
#F8F466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#F8F466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F466
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F466#FFFFFF#000000##000000
##F8F4661.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB56
Deuteranopia (green-blind)
#FFF16E
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f466;
/* rgb */ color: rgb(248, 244, 102);
/* oklch */ color: oklch(94.4% 0.161 107.6);
Tailwind
colors: {
  custom: {
    50: '#fef797',
    500: '#f8f466',
    950: '#000000',
  },
}
SCSS
$custom: #f8f466;
$custom-light: #fef797;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f466",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 102
  },
  "hsl": {
    "h": 58.356,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.94407,
    "c": 0.1614,
    "h": 107.6
  },
  "luminance": 0.85617
}

Semantic roles & 50–950 ramp

primary
#F8F466
secondary
#3135D2
accent
#06E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F466

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

Preview Lab → · Contrast checker → · Palette generator →

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