#F8E16D#F8E16D

#F8E16D is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.6% C 0.138 H 98.3°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#F8E16D
RGBrgb(248, 225, 109)
HSLhsl(50, 91%, 70%)
HSVhsv(50, 56%, 97%)
CMYKcmyk(0%, 9.3%, 56%, 2.7%)
CIE-LABlab(89.35, -6.04, 58.65)
CIE-LCHlch(89.35, 58.96, 95.88°)
OKLaboklab(90.62% -0.0198 0.1367)
OKLCHoklch(90.62% 0.138 98.3)
XYZxyz(68.3995, 74.9139, 25.3219)
Luminance0.7491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E16D #6D84F8
analogous
#F89C6D #F8E16D #C9F86D
triadic
#F8E16D #6DF8E1 #E16DF8
tetradic
#F8E16D #6DF89C #6D84F8 #F86DC9
square
#F8E16D #6DF89C #6D84F8 #F86DC9
split-complementary
#F8E16D #6DC9F8 #9C6DF8
monochromatic
#E0BD0B #F5D533 #F8E16D #FBEDA7 #FEF9E2

Accessibility & contrast

On white

1.31
#F8E16D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#F8E16D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E16D
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E16D#FFFFFF#000000##000000
##F8E16D1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC62
Deuteranopia (green-blind)
#FAE472
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e16d;
/* rgb */ color: rgb(248, 225, 109);
/* oklch */ color: oklch(90.6% 0.138 98.3);
Tailwind
colors: {
  custom: {
    50: '#fdea9a',
    500: '#f8e16d',
    950: '#000000',
  },
}
SCSS
$custom: #f8e16d;
$custom-light: #fdea9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e16d",
  "rgb": {
    "r": 248,
    "g": 225,
    "b": 109
  },
  "hsl": {
    "h": 50.072,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.90616,
    "c": 0.13808,
    "h": 98.3
  },
  "luminance": 0.74911
}

Semantic roles & 50–950 ramp

primary
#F8E16D
secondary
#3751D2
accent
#26E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E16D

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

Preview Lab → · Contrast checker → · Palette generator →

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