#F8E668#F8E668

#F8E668 is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.6% C 0.147 H 101.2°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#F8E668
RGBrgb(248, 230, 104)
HSLhsl(53, 91%, 69%)
HSVhsv(53, 58%, 97%)
CMYKcmyk(0%, 7.3%, 58.1%, 2.7%)
CIE-LABlab(90.58, -8.90, 62.27)
CIE-LCHlch(90.58, 62.90, 98.13°)
OKLaboklab(91.57% -0.0286 0.1438)
OKLCHoklch(91.57% 0.147 101.2)
XYZxyz(69.5094, 77.5523, 24.4017)
Luminance0.7755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E668 #687AF8
analogous
#F89E68 #F8E668 #C2F868
triadic
#F8E668 #68F8E6 #E668F8
tetradic
#F8E668 #68F89E #687AF8 #F868C2
square
#F8E668 #68F89E #687AF8 #F868C2
split-complementary
#F8E668 #68C2F8 #9E68F8
monochromatic
#DBC10A #F5DC2E #F8E668 #FBF0A2 #FDF9DD

Accessibility & contrast

On white

1.27
#F8E668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#F8E668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E668
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E668#FFFFFF#000000##000000
##F8E6681.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05B
Deuteranopia (green-blind)
#FEE76E
Tritanopia (blue-blind)
#FFD8CA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e668;
/* rgb */ color: rgb(248, 230, 104);
/* oklch */ color: oklch(91.6% 0.147 101.2);
Tailwind
colors: {
  custom: {
    50: '#fded97',
    500: '#f8e668',
    950: '#000000',
  },
}
SCSS
$custom: #f8e668;
$custom-light: #fded97;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e668",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 104
  },
  "hsl": {
    "h": 52.5,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.9157,
    "c": 0.14666,
    "h": 101.2
  },
  "luminance": 0.7755
}

Semantic roles & 50–950 ramp

primary
#F8E668
secondary
#3246D2
accent
#1DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E668

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

Preview Lab → · Contrast checker → · Palette generator →

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