#F8F967#F8F967

#F8F967 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.4% C 0.166 H 109.5°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#F8F967
RGBrgb(248, 249, 103)
HSLhsl(60, 92%, 69%)
HSVhsv(60, 59%, 98%)
CMYKcmyk(0.4%, 0%, 58.6%, 2.4%)
CIE-LABlab(95.45, -18.27, 68.08)
CIE-LCHlch(95.45, 70.49, 105.03°)
OKLaboklab(95.45% -0.0554 0.1561)
OKLCHoklch(95.45% 0.166 109.5)
XYZxyz(75.0374, 88.6891, 25.9953)
Luminance0.8869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F967 #6867F9
analogous
#F9B167 #F8F967 #AFF967
triadic
#F8F967 #67F8F9 #F967F8
tetradic
#F8F967 #67F9B1 #6867F9 #F967AF
square
#F8F967 #67F9B1 #6867F9 #F967AF
split-complementary
#F8F967 #67AFF9 #B167F9
monochromatic
#DBDD09 #F5F72C #F8F967 #FBFBA2 #FDFEDD

Accessibility & contrast

On white

1.12
#F8F967 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.74
#F8F967 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F967
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F967#FFFFFF#000000##000000
##F8F9671.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF56
Deuteranopia (green-blind)
#FFF470
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8f967;
/* rgb */ color: rgb(248, 249, 103);
/* oklch */ color: oklch(95.4% 0.166 109.5);
Tailwind
colors: {
  custom: {
    50: '#fdfb98',
    500: '#f8f967',
    950: '#000000',
  },
}
SCSS
$custom: #f8f967;
$custom-light: #fdfb98;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f967",
  "rgb": {
    "r": 248,
    "g": 249,
    "b": 103
  },
  "hsl": {
    "h": 60.411,
    "s": 92.405,
    "l": 69.02
  },
  "oklch": {
    "l": 0.95447,
    "c": 0.16563,
    "h": 109.5
  },
  "luminance": 0.88687
}

Semantic roles & 50–950 ramp

primary
#F8F967
secondary
#3231D3
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F967

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

Preview Lab → · Contrast checker → · Palette generator →

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