#F8E366#F8E366

#F8E366 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.9% C 0.146 H 99.8°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#F8E366
RGBrgb(248, 227, 102)
HSLhsl(51, 91%, 69%)
HSVhsv(51, 59%, 97%)
CMYKcmyk(0%, 8.5%, 58.9%, 2.7%)
CIE-LABlab(89.79, -7.54, 62.27)
CIE-LCHlch(89.79, 62.72, 96.91°)
OKLaboklab(90.94% -0.0249 0.1436)
OKLCHoklch(90.94% 0.146 99.8)
XYZxyz(68.5814, 75.8568, 23.5971)
Luminance0.7585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E366 #667BF8
analogous
#F89A66 #F8E366 #C4F866
triadic
#F8E366 #66F8E3 #E366F8
tetradic
#F8E366 #66F89A #667BF8 #F866C4
square
#F8E366 #66F89A #667BF8 #F866C4
split-complementary
#F8E366 #66C4F8 #9A66F8
monochromatic
#DABC0A #F5D82B #F8E366 #FBEEA1 #FDF8DB

Accessibility & contrast

On white

1.30
#F8E366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#F8E366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E366
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E366#FFFFFF#000000##000000
##F8E3661.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD59
Deuteranopia (green-blind)
#FCE56C
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e366;
/* rgb */ color: rgb(248, 227, 102);
/* oklch */ color: oklch(90.9% 0.146 99.8);
Tailwind
colors: {
  custom: {
    50: '#feeb96',
    500: '#f8e366',
    950: '#000000',
  },
}
SCSS
$custom: #f8e366;
$custom-light: #feeb96;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e366",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 102
  },
  "hsl": {
    "h": 51.37,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90943,
    "c": 0.14575,
    "h": 99.8
  },
  "luminance": 0.75854
}

Semantic roles & 50–950 ramp

primary
#F8E366
secondary
#3148D2
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E366

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

Preview Lab → · Contrast checker → · Palette generator →

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