#F8E466#F8E466

#F8E466 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 91.1% C 0.147 H 100.4°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#F8E466
RGBrgb(248, 228, 102)
HSLhsl(52, 91%, 69%)
HSVhsv(52, 59%, 97%)
CMYKcmyk(0%, 8.1%, 58.9%, 2.7%)
CIE-LABlab(90.05, -8.04, 62.55)
CIE-LCHlch(90.05, 63.07, 97.32°)
OKLaboklab(91.15% -0.0264 0.1442)
OKLCHoklch(91.15% 0.147 100.4)
XYZxyz(68.8557, 76.4054, 23.6886)
Luminance0.7640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E466 #667AF8
analogous
#F89B66 #F8E466 #C3F866
triadic
#F8E466 #66F8E4 #E466F8
tetradic
#F8E466 #66F89B #667AF8 #F866C3
square
#F8E466 #66F89B #667AF8 #F866C3
split-complementary
#F8E466 #66C3F8 #9B66F8
monochromatic
#DABD0A #F5DA2B #F8E466 #FBEEA1 #FDF9DB

Accessibility & contrast

On white

1.29
#F8E466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.28
#F8E466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E466
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E466#FFFFFF#000000##000000
##F8E4661.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE59
Deuteranopia (green-blind)
#FDE66C
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e466;
/* rgb */ color: rgb(248, 228, 102);
/* oklch */ color: oklch(91.1% 0.147 100.4);
Tailwind
colors: {
  custom: {
    50: '#feec96',
    500: '#f8e466',
    950: '#000000',
  },
}
SCSS
$custom: #f8e466;
$custom-light: #feec96;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e466",
  "rgb": {
    "r": 248,
    "g": 228,
    "b": 102
  },
  "hsl": {
    "h": 51.781,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.91145,
    "c": 0.14659,
    "h": 100.4
  },
  "luminance": 0.76403
}

Semantic roles & 50–950 ramp

primary
#F8E466
secondary
#3147D2
accent
#1FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E466

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

Preview Lab → · Contrast checker → · Palette generator →

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