#F8E166#F8E166

#F8E166 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.5% C 0.144 H 98.8°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#F8E166
RGBrgb(248, 225, 102)
HSLhsl(51, 91%, 69%)
HSVhsv(51, 59%, 97%)
CMYKcmyk(0%, 9.3%, 58.9%, 2.7%)
CIE-LABlab(89.28, -6.54, 61.70)
CIE-LCHlch(89.28, 62.05, 96.05°)
OKLaboklab(90.54% -0.0221 0.1424)
OKLCHoklch(90.54% 0.144 98.8)
XYZxyz(68.0376, 74.7691, 23.4158)
Luminance0.7477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E166 #667DF8
analogous
#F89866 #F8E166 #C6F866
triadic
#F8E166 #66F8E1 #E166F8
tetradic
#F8E166 #66F898 #667DF8 #F866C6
square
#F8E166 #66F898 #667DF8 #F866C6
split-complementary
#F8E166 #66C6F8 #9866F8
monochromatic
#DAB90A #F5D62B #F8E166 #FBECA1 #FDF8DB

Accessibility & contrast

On white

1.32
#F8E166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#F8E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E166
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E166#FFFFFF#000000##000000
##F8E1661.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC59
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e166;
/* rgb */ color: rgb(248, 225, 102);
/* oklch */ color: oklch(90.5% 0.144 98.8);
Tailwind
colors: {
  custom: {
    50: '#feea96',
    500: '#f8e166',
    950: '#000000',
  },
}
SCSS
$custom: #f8e166;
$custom-light: #feea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e166",
  "rgb": {
    "r": 248,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 50.548,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90541,
    "c": 0.14408,
    "h": 98.8
  },
  "luminance": 0.74766
}

Semantic roles & 50–950 ramp

primary
#F8E166
secondary
#314AD2
accent
#24E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E166

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

Preview Lab → · Contrast checker → · Palette generator →

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