#F8D868#F8D868

#F8D868 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.8% C 0.136 H 93.5°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#F8D868
RGBrgb(248, 216, 104)
HSLhsl(47, 91%, 69%)
HSVhsv(47, 58%, 97%)
CMYKcmyk(0%, 12.9%, 58.1%, 2.7%)
CIE-LABlab(87.03, -1.86, 58.26)
CIE-LCHlch(87.03, 58.29, 91.82°)
OKLaboklab(88.76% -0.0083 0.1353)
OKLCHoklch(88.76% 0.136 93.5)
XYZxyz(65.7687, 70.0709, 23.1548)
Luminance0.7007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D868 #6888F8
analogous
#F89068 #F8D868 #D0F868
triadic
#F8D868 #68F8D8 #D868F8
tetradic
#F8D868 #68F890 #6888F8 #F868D0
square
#F8D868 #68F890 #6888F8 #F868D0
split-complementary
#F8D868 #68D0F8 #9068F8
monochromatic
#DBAD0A #F5C92E #F8D868 #FBE7A2 #FDF6DD

Accessibility & contrast

On white

1.40
#F8D868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.01
#F8D868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D868
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D868#FFFFFF#000000##000000
##F8D8681.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD45D
Deuteranopia (green-blind)
#F4DE6D
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d868;
/* rgb */ color: rgb(248, 216, 104);
/* oklch */ color: oklch(88.8% 0.136 93.5);
Tailwind
colors: {
  custom: {
    50: '#fee396',
    500: '#f8d868',
    950: '#000000',
  },
}
SCSS
$custom: #f8d868;
$custom-light: #fee396;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d868",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 104
  },
  "hsl": {
    "h": 46.667,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88764,
    "c": 0.13551,
    "h": 93.5
  },
  "luminance": 0.70068
}

Semantic roles & 50–950 ramp

primary
#F8D868
secondary
#3256D2
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D868

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

Preview Lab → · Contrast checker → · Palette generator →

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