#F8F96C#F8F96C

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

Color values

HEX#F8F96C
RGBrgb(248, 249, 108)
HSLhsl(60, 92%, 70%)
HSVhsv(60, 57%, 98%)
CMYKcmyk(0.4%, 0%, 56.6%, 2.4%)
CIE-LABlab(95.49, -17.93, 66.03)
CIE-LCHlch(95.49, 68.42, 105.19°)
OKLaboklab(95.49% -0.0539 0.1523)
OKLCHoklch(95.49% 0.162 109.5)
XYZxyz(75.2959, 88.7925, 27.3567)
Luminance0.8879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F96C #6D6CF9
analogous
#F9B46C #F8F96C #B1F96C
triadic
#F8F96C #6CF8F9 #F96CF8
tetradic
#F8F96C #6CF9B4 #6D6CF9 #F96CB1
square
#F8F96C #6CF9B4 #6D6CF9 #F96CB1
split-complementary
#F8F96C #6CB1F9 #B46CF9
monochromatic
#E0E109 #F5F731 #F8F96C #FBFBA7 #FEFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F96C#FFFFFF#000000##000000
##F8F96C1.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)
#FFEF5D
Deuteranopia (green-blind)
#FFF474
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8f96c;
/* rgb */ color: rgb(248, 249, 108);
/* oklch */ color: oklch(95.5% 0.162 109.5);
Tailwind
colors: {
  custom: {
    50: '#fdfb9b',
    500: '#f8f96c',
    950: '#000000',
  },
}
SCSS
$custom: #f8f96c;
$custom-light: #fdfb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f96c",
  "rgb": {
    "r": 248,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 60.426,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.95495,
    "c": 0.16159,
    "h": 109.5
  },
  "luminance": 0.88791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F96C

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

Preview Lab → · Contrast checker → · Palette generator →

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