#F8E968#F8E968

#F8E968 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.2% C 0.149 H 102.7°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#F8E968
RGBrgb(248, 233, 104)
HSLhsl(54, 91%, 69%)
HSVhsv(54, 58%, 97%)
CMYKcmyk(0%, 6%, 58.1%, 2.7%)
CIE-LABlab(91.34, -10.39, 63.12)
CIE-LCHlch(91.34, 63.97, 99.35°)
OKLaboklab(92.18% -0.0329 0.1457)
OKLCHoklch(92.18% 0.149 102.7)
XYZxyz(70.3515, 79.2364, 24.6824)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E968 #6877F8
analogous
#F8A168 #F8E968 #BFF868
triadic
#F8E968 #68F8E9 #E968F8
tetradic
#F8E968 #68F8A1 #6877F8 #F868BF
square
#F8E968 #68F8A1 #6877F8 #F868BF
split-complementary
#F8E968 #68BFF8 #A168F8
monochromatic
#DBC60A #F5E02E #F8E968 #FBF2A2 #FDFADD

Accessibility & contrast

On white

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

On black

16.85
#F8E968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E968
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E968#FFFFFF#000000##000000
##F8E9681.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE25A
Deuteranopia (green-blind)
#FFE96F
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f8e968;
/* rgb */ color: rgb(248, 233, 104);
/* oklch */ color: oklch(92.2% 0.149 102.7);
Tailwind
colors: {
  custom: {
    50: '#fdef97',
    500: '#f8e968',
    950: '#000000',
  },
}
SCSS
$custom: #f8e968;
$custom-light: #fdef97;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e968",
  "rgb": {
    "r": 248,
    "g": 233,
    "b": 104
  },
  "hsl": {
    "h": 53.75,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.92178,
    "c": 0.14933,
    "h": 102.7
  },
  "luminance": 0.79234
}

Semantic roles & 50–950 ramp

primary
#F8E968
secondary
#3243D2
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8E968

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

Preview Lab → · Contrast checker → · Palette generator →

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