#F8E967#F8E967

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

Color values

HEX#F8E967
RGBrgb(248, 233, 103)
HSLhsl(54, 91%, 69%)
HSVhsv(54, 58%, 97%)
CMYKcmyk(0%, 6%, 58.5%, 2.7%)
CIE-LABlab(91.33, -10.46, 63.55)
CIE-LCHlch(91.33, 64.40, 99.35°)
OKLaboklab(92.17% -0.0332 0.1465)
OKLCHoklch(92.17% 0.15 102.8)
XYZxyz(70.3010, 79.2162, 24.4165)
Luminance0.7921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E967 #6776F8
analogous
#F8A167 #F8E967 #BFF867
triadic
#F8E967 #67F8E9 #E967F8
tetradic
#F8E967 #67F8A1 #6776F8 #F867BF
square
#F8E967 #67F8A1 #6776F8 #F867BF
split-complementary
#F8E967 #67BFF8 #A167F8
monochromatic
#DBC50A #F5E12C #F8E967 #FBF1A2 #FDFADC

Accessibility & contrast

On white

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

On black

16.84
#F8E967 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E967
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E967#FFFFFF#000000##000000
##F8E9671.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e967;
/* rgb */ color: rgb(248, 233, 103);
/* oklch */ color: oklch(92.2% 0.150 102.8);
Tailwind
colors: {
  custom: {
    50: '#fdef97',
    500: '#f8e967',
    950: '#000000',
  },
}
SCSS
$custom: #f8e967;
$custom-light: #fdef97;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e967",
  "rgb": {
    "r": 248,
    "g": 233,
    "b": 103
  },
  "hsl": {
    "h": 53.793,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.92168,
    "c": 0.15016,
    "h": 102.8
  },
  "luminance": 0.79214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8E967

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

Preview Lab → · Contrast checker → · Palette generator →

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