#F8E168#F8E168

#F8E168 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.6% C 0.142 H 98.7°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#F8E168
RGBrgb(248, 225, 104)
HSLhsl(50, 91%, 69%)
HSVhsv(50, 58%, 97%)
CMYKcmyk(0%, 9.3%, 58.1%, 2.7%)
CIE-LABlab(89.30, -6.40, 60.84)
CIE-LCHlch(89.30, 61.17, 96.01°)
OKLaboklab(90.56% -0.0214 0.1408)
OKLCHoklch(90.56% 0.142 98.7)
XYZxyz(68.1379, 74.8093, 23.9445)
Luminance0.7481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E168 #687FF8
analogous
#F89968 #F8E168 #C7F868
triadic
#F8E168 #68F8E1 #E168F8
tetradic
#F8E168 #68F899 #687FF8 #F868C7
square
#F8E168 #68F899 #687FF8 #F868C7
split-complementary
#F8E168 #68C7F8 #9968F8
monochromatic
#DBBA0A #F5D52E #F8E168 #FBEDA2 #FDF8DD

Accessibility & contrast

On white

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

On black

15.96
#F8E168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E168
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E168#FFFFFF#000000##000000
##F8E1681.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e168;
/* rgb */ color: rgb(248, 225, 104);
/* oklch */ color: oklch(90.6% 0.142 98.7);
Tailwind
colors: {
  custom: {
    50: '#fdea97',
    500: '#f8e168',
    950: '#000000',
  },
}
SCSS
$custom: #f8e168;
$custom-light: #fdea97;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e168",
  "rgb": {
    "r": 248,
    "g": 225,
    "b": 104
  },
  "hsl": {
    "h": 50.417,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90562,
    "c": 0.1424,
    "h": 98.7
  },
  "luminance": 0.74806
}

Semantic roles & 50–950 ramp

primary
#F8E168
secondary
#324CD2
accent
#25E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E168

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

Preview Lab → · Contrast checker → · Palette generator →

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