#F8F96D#F8F96D

#F8F96D is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.5% C 0.161 H 109.5°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#F8F96D
RGBrgb(248, 249, 109)
HSLhsl(60, 92%, 70%)
HSVhsv(60, 56%, 98%)
CMYKcmyk(0.4%, 0%, 56.2%, 2.4%)
CIE-LABlab(95.50, -17.86, 65.61)
CIE-LCHlch(95.50, 68.00, 105.23°)
OKLaboklab(95.51% -0.0536 0.1516)
OKLCHoklch(95.51% 0.161 109.5)
XYZxyz(75.3495, 88.8139, 27.6386)
Luminance0.8881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F96D #6E6DF9
analogous
#F9B46D #F8F96D #B2F96D
triadic
#F8F96D #6DF8F9 #F96DF8
tetradic
#F8F96D #6DF9B4 #6E6DF9 #F96DB2
square
#F8F96D #6DF9B4 #6E6DF9 #F96DB2
split-complementary
#F8F96D #6DB2F9 #B46DF9
monochromatic
#E1E209 #F5F732 #F8F96D #FBFBA8 #FEFEE2

Accessibility & contrast

On white

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

On black

18.76
#F8F96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F96D
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F96D#FFFFFF#000000##000000
##F8F96D1.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05E
Deuteranopia (green-blind)
#FFF475
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8f96d;
/* rgb */ color: rgb(248, 249, 109);
/* oklch */ color: oklch(95.5% 0.161 109.5);
Tailwind
colors: {
  custom: {
    50: '#fdfb9b',
    500: '#f8f96d',
    950: '#000000',
  },
}
SCSS
$custom: #f8f96d;
$custom-light: #fdfb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f96d",
  "rgb": {
    "r": 248,
    "g": 249,
    "b": 109
  },
  "hsl": {
    "h": 60.429,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95505,
    "c": 0.16076,
    "h": 109.5
  },
  "luminance": 0.88812
}

Semantic roles & 50–950 ramp

primary
#F8F96D
secondary
#3837D4
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F96D

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

Preview Lab → · Contrast checker → · Palette generator →

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