#F8E868#F8E868

#F8E868 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 92.0% C 0.148 H 102.2°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#F8E868
RGBrgb(248, 232, 104)
HSLhsl(53, 91%, 69%)
HSVhsv(53, 58%, 97%)
CMYKcmyk(0%, 6.5%, 58.1%, 2.7%)
CIE-LABlab(91.09, -9.89, 62.84)
CIE-LCHlch(91.09, 63.61, 98.95°)
OKLaboklab(91.98% -0.0314 0.1451)
OKLCHoklch(91.98% 0.148 102.2)
XYZxyz(70.0692, 78.6718, 24.5883)
Luminance0.7867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E868 #6878F8
analogous
#F8A068 #F8E868 #C0F868
triadic
#F8E868 #68F8E8 #E868F8
tetradic
#F8E868 #68F8A0 #6878F8 #F868C0
square
#F8E868 #68F8A0 #6878F8 #F868C0
split-complementary
#F8E868 #68C0F8 #A068F8
monochromatic
#DBC40A #F5DF2E #F8E868 #FBF1A2 #FDFADD

Accessibility & contrast

On white

1.25
#F8E868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#F8E868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E868
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E868#FFFFFF#000000##000000
##F8E8681.001.2516.7316.73
#FFFFFF1.251.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE15A
Deuteranopia (green-blind)
#FFE96F
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e868;
/* rgb */ color: rgb(248, 232, 104);
/* oklch */ color: oklch(92.0% 0.148 102.2);
Tailwind
colors: {
  custom: {
    50: '#fdef97',
    500: '#f8e868',
    950: '#000000',
  },
}
SCSS
$custom: #f8e868;
$custom-light: #fdef97;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e868",
  "rgb": {
    "r": 248,
    "g": 232,
    "b": 104
  },
  "hsl": {
    "h": 53.333,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91975,
    "c": 0.14843,
    "h": 102.2
  },
  "luminance": 0.78669
}

Semantic roles & 50–950 ramp

primary
#F8E868
secondary
#3244D2
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8E868

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

Preview Lab → · Contrast checker → · Palette generator →

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